/[jscoverage]/trunk/instrument-js.cpp
ViewVC logotype

Diff of /trunk/instrument-js.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 399 by siliconforks, Tue Dec 9 03:37:47 2008 UTC revision 401 by siliconforks, Tue Dec 9 09:47:21 2008 UTC
# Line 1197  Line 1197 
1197      Stream_printf(f, "%*s", indent, "");      Stream_printf(f, "%*s", indent, "");
1198      Stream_write_string(f, "debugger;\n");      Stream_write_string(f, "debugger;\n");
1199      break;      break;
1200      case TOK_SEQ:
1201        /*
1202        This occurs with the statement:
1203        for (var a = b in c) {}
1204        */
1205        assert(node->pn_arity == PN_LIST);
1206        for (JSParseNode * p = node->pn_head; p != NULL; p = p->pn_next) {
1207          instrument_statement(p, f, indent, false);
1208        }
1209        break;
1210    default:    default:
1211      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%d)", node->pn_type);      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%d)", node->pn_type);
1212    }    }

Legend:
Removed from v.399  
changed lines
  Added in v.401

  ViewVC Help
Powered by ViewVC 1.1.24