Branch: Tag:

2001-07-27

2001-07-27 15:00:52 by David Norlin <norlin@roxen.com>

To get the right context in the thrown error string.

Rev: lib/modules/Parser.pmod/C.pmod:1.25
Rev: lib/modules/Parser.pmod/Pike.pmod:1.10

205:    pos++;    if(data[pos]=='\\') pos++;    int end=search(data, "'", pos)+1; -  if (!end) +  if (!end) { +  --pos;    UNKNOWN_TOKEN; -  +  }    pos=end;    break;