mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-19 22:04:01 -06:00
CParser: IDs now can contain '$'
git-svn-id: svn://ultimatepp.org/upp/trunk@8293 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
9bb94bd5b9
commit
d5a2bc3804
7 changed files with 31 additions and 37 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue