[Cmap-cvs] libs/eval tokenizer.cpp,1.4,1.5
Status: Beta
Brought to you by:
dyp
From: Denis P. <dy...@us...> - 2005-02-23 11:17:26
|
Update of /cvsroot/cmap/libs/eval In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21149 Modified Files: tokenizer.cpp Log Message: Fix TT_COMMENT handling. Index: tokenizer.cpp =================================================================== RCS file: /cvsroot/cmap/libs/eval/tokenizer.cpp,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- tokenizer.cpp 23 Feb 2005 11:10:12 -0000 1.4 +++ tokenizer.cpp 23 Feb 2005 11:17:06 -0000 1.5 @@ -222,7 +222,7 @@ while ((c = read()) != '\n' && c != '\r' && c >= 0) sval += (unsigned char)c; peekc = (char)c; - return TT_COMMENT; + return ttype = TT_COMMENT; } while ((c = read()) != '\n' && c != '\r' && c >= 0); peekc = (char)c; |