support 'LL' integer suffix without 'u'
This commit is contained in:
parent
290c2e343e
commit
478c053cab
@ -211,6 +211,7 @@ static const char * builtin_types[] = {
|
||||
"__float80",
|
||||
"__ibm128",
|
||||
"_Complex",
|
||||
"__m64",
|
||||
};
|
||||
|
||||
bool is_type_name(const std::string & type_name)
|
||||
|
@ -141,7 +141,7 @@ L?'\\t' (void)'\t'; return CHAR_CONST;
|
||||
L?'\\v' (void)'\v'; return CHAR_CONST;
|
||||
L?'\\x[0-9A-Fa-f]{2}' return CHAR_CONST;
|
||||
L?'\\[0-7]{1,3}' return CHAR_CONST;
|
||||
[0-9]+([uU][lL]?[lL]?)? return INT_CONST;
|
||||
[0-9]+[uU]?[lL]?[lL]? return INT_CONST;
|
||||
0[xX][0-9a-fA-F]+([uU][lL]?[lL]?)? return INT_CONST;
|
||||
([0-9]+\.[0-9]*|\.[0-9]+)([eE][-+]?[0-9]+)?[fFlL]? return FLOAT_CONST;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user