CParser: IDs now can contain '$'

git-svn-id: svn://ultimatepp.org/upp/trunk@8293 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-03-24 14:50:33 +00:00
parent 9bb94bd5b9
commit d5a2bc3804
7 changed files with 31 additions and 37 deletions

View file

@ -166,7 +166,7 @@ void Lex::Next()
String x;
x.Reserve(12);
x.Cat(c);
while(iscid2(*ptr))
while(iscid(*ptr))
x.Cat(*ptr++);
int q = id.FindAdd(x);
if(q == tk_rval_ - 256) { // simple hack for transitionary macro