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

Diff of /trunk/highlight.c

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

revision 215 by siliconforks, Fri Oct 3 02:26:18 2008 UTC revision 330 by siliconforks, Wed Oct 22 23:48:48 2008 UTC
# Line 335  Line 335 
335        break;        break;
336      case TOK_INC:      case TOK_INC:
337      case TOK_DEC:      case TOK_DEC:
338          class = CLASS_SYMBOL;
339          /* token_stream->flags does not change w.r.t. TSF_OPERAND */
340          break;
341      case TOK_DOT:      case TOK_DOT:
342      case TOK_LB:      case TOK_LB:
343        class = CLASS_SYMBOL;        class = CLASS_SYMBOL;
# Line 460  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.215  
changed lines
  Added in v.330

  ViewVC Help
Powered by ViewVC 1.1.24