Branch: Tag:

2002-02-17

2002-02-17 19:24:59 by Martin Nilsson <mani@lysator.liu.se>

Dont hang when a string ends with /*

Rev: lib/modules/Parser.pmod/C.pmod:1.27
Rev: lib/modules/Parser.pmod/Pike.pmod:1.15

170:    case "/*":    pos=search(data,"*/",pos);    if(pos==-1) -  error("Failed to find end of coment.\n"); +  error("Failed to find end of comment.\n");    pos+=2;    break;