/[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 503 by siliconforks, Mon Dec 28 03:06:12 2009 UTC revision 504 by siliconforks, Mon Dec 28 04:59:47 2009 UTC
# Line 670  Line 670 
670        output_expression(node->pn_kid, f, false);        output_expression(node->pn_kid, f, false);
671        break;        break;
672      default:      default:
673        fatal_source(file_id, node->pn_pos.begin.lineno, "unknown operator (%ld)", node->pn_op);        fatal_source(file_id, node->pn_pos.begin.lineno, "unknown operator (%u)", (unsigned int) node->pn_op);
674        break;        break;
675      }      }
676      break;      break;
# Line 810  Line 810 
810      Stream_write_char(f, '{');      Stream_write_char(f, '{');
811      for (struct JSParseNode * p = node->pn_head; p != NULL; p = p->pn_next) {      for (struct JSParseNode * p = node->pn_head; p != NULL; p = p->pn_next) {
812        if (p->pn_type != TOK_COLON) {        if (p->pn_type != TOK_COLON) {
813          fatal_source(file_id, p->pn_pos.begin.lineno, "unsupported node type (%ld)", p->pn_type);          fatal_source(file_id, p->pn_pos.begin.lineno, "unsupported node type (%u)", (unsigned int) p->pn_type);
814        }        }
815        if (p != node->pn_head) {        if (p != node->pn_head) {
816          Stream_write_string(f, ", ");          Stream_write_string(f, ", ");
# Line 978  Line 978 
978      instrument_declarations(node, f);      instrument_declarations(node, f);
979      break;      break;
980    default:    default:
981      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%ld)", node->pn_type);      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%u)", (unsigned int) node->pn_type);
982    }    }
983  }  }
984    
# Line 1326  Line 1326 
1326      // FIXME      // FIXME
1327      break;      break;
1328    default:    default:
1329      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%ld)", node->pn_type);      fatal_source(file_id, node->pn_pos.begin.lineno, "unsupported node type (%u)", (unsigned int) node->pn_type);
1330    }    }
1331  }  }
1332    

Legend:
Removed from v.503  
changed lines
  Added in v.504

  ViewVC Help
Powered by ViewVC 1.1.24