mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-27 21:10:28 +02:00
* support LL as int number postfix
git-svn-id: trunk@13821 -
This commit is contained in:
parent
41c5735b40
commit
48e259876b
@ -616,14 +616,14 @@ D [0-9]
|
||||
end
|
||||
else
|
||||
skip_until_eol;
|
||||
{D}+[Uu]?[Ll]? if NotInCPlusBlock then
|
||||
{D}+[Uu]?[Ll]?[Ll]? if NotInCPlusBlock then
|
||||
begin
|
||||
while yytext[length(yytext)] in ['L','U','l','u'] do
|
||||
Delete(yytext,length(yytext),1);
|
||||
return(NUMBER);
|
||||
end
|
||||
else skip_until_eol;
|
||||
"0x"[0-9A-Fa-f]*[Uu]?[Ll]?
|
||||
"0x"[0-9A-Fa-f]*[Uu]?[Ll]?[Ll]?
|
||||
if NotInCPlusBlock then
|
||||
begin
|
||||
(* handle pre- and postfixes *)
|
||||
|
3160
utils/h2pas/scan.pas
3160
utils/h2pas/scan.pas
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user