/[jscoverage]/trunk/highlight.cpp
ViewVC logotype

Diff of /trunk/highlight.cpp

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

revision 292 by siliconforks, Sun Oct 12 16:41:36 2008 UTC revision 330 by siliconforks, Wed Oct 22 23:48:48 2008 UTC
# Line 463  Line 463 
463        break;        break;
464      }      }
465    
466      assert(t.pos.begin.lineno == t.pos.end.lineno);      if (t.pos.begin.lineno != t.pos.end.lineno) {
467          fatal("%s: line %u: token spans multiple lines", id, t.pos.begin.lineno);
468        }
469      if (t.pos.begin.index > t.pos.end.index) {      if (t.pos.begin.index > t.pos.end.index) {
470        fatal("%s: script contains line with more than 65,535 characters", id);        fatal("%s: script contains line with more than 65,535 characters", id);
471      }      }

Legend:
Removed from v.292  
changed lines
  Added in v.330

  ViewVC Help
Powered by ViewVC 1.1.24