X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Faltlex.c;fp=src%2Faltlex.c;h=6572164eebf6ccb8b4038f5af620c31da4f65816;hb=c9e40278469aa9b26090f1c3f03422d19161b669;hp=816b2fad5d8a5b81035bd20842115659eb850e39;hpb=1f7cead9e57737d1da7f66cf88b72441349c0a72;p=fw%2Fsdcc diff --git a/src/altlex.c b/src/altlex.c index 816b2fad..6572164e 100644 --- a/src/altlex.c +++ b/src/altlex.c @@ -458,6 +458,14 @@ static int _yylex(void) *p++ = c; c = GETC(); } + if (c == 'U' || c == 'u' || c == 'L' || c == 'l') { + *p++ = c; + c = GETC(); + } + if (c == 'U' || c == 'u' || c == 'L' || c == 'l') { + *p++ = c; + c = GETC(); + } *p = '\0'; UNGETC(c); yylval.val = constVal(line);