* support LL as int number postfix

git-svn-id: trunk@13821 -
This commit is contained in:
florian 2009-10-09 12:07:36 +00:00
parent 41c5735b40
commit 48e259876b
2 changed files with 1595 additions and 1571 deletions

View File

@ -616,14 +616,14 @@ D [0-9]
end end
else else
skip_until_eol; skip_until_eol;
{D}+[Uu]?[Ll]? if NotInCPlusBlock then {D}+[Uu]?[Ll]?[Ll]? if NotInCPlusBlock then
begin 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);
end end
else skip_until_eol; else skip_until_eol;
"0x"[0-9A-Fa-f]*[Uu]?[Ll]? "0x"[0-9A-Fa-f]*[Uu]?[Ll]?[Ll]?
if NotInCPlusBlock then if NotInCPlusBlock then
begin begin
(* handle pre- and postfixes *) (* handle pre- and postfixes *)

File diff suppressed because it is too large Load Diff