1
0
mirror of https://github.com/wine-mirror/wine synced 2024-06-29 06:14:34 +00:00

widl: Do not allow "lu" as an integer suffix.

MIDL does not.
This commit is contained in:
Elizabeth Figura 2024-06-21 16:37:11 -05:00 committed by Alexandre Julliard
parent d9b364f6f5
commit 992cafc9ed

View File

@ -431,8 +431,8 @@ SAFEARRAY{ws}*/\( return tSAFEARRAY;
[a-zA-Z_][0-9a-zA-Z_]* { return token_ident( yytext, yylval ); }
0[xX]{hd}+([lL][uU]?|[uU][lL]?)? { return token_num( aHEXNUM, yytext, yylval ); }
[0-9]+([lL][uU]?|[uU][lL]?)? { return token_num( aNUM, yytext, yylval ); }
0[xX]{hd}+[uU]?[lL]? { return token_num( aHEXNUM, yytext, yylval ); }
[0-9]+[uU]?[lL]? { return token_num( aNUM, yytext, yylval ); }
L\"(\\.|[^"\\])*\" { return token_str( aWSTRING, yytext + 1, yylval ); }
\"(\\.|[^"\\])*\" { return token_str( aSTRING, yytext, yylval ); }