mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 20:09:19 +02:00
* fix from Jeff Pohlmeyer <yetanothergeek@yahoo.com> for problem with
variables/parameters called l, L, u or U
This commit is contained in:
parent
49849a0b86
commit
c38ebece5a
@ -443,7 +443,7 @@ D [0-9]
|
|||||||
return(CSTRING)
|
return(CSTRING)
|
||||||
else
|
else
|
||||||
return(256);
|
return(256);
|
||||||
{D}*[Uu]?[Ll]? begin
|
{D}+[Uu]?[Ll]? begin
|
||||||
while yytext[length(yytext)] in ['L','U','l','u'] do
|
while yytext[length(yytext)] in ['L','U','l','u'] do
|
||||||
Delete(yytext,length(yytext),1);
|
Delete(yytext,length(yytext),1);
|
||||||
return(NUMBER);
|
return(NUMBER);
|
||||||
|
Loading…
Reference in New Issue
Block a user