allow leading "L" prefix for string constants

This commit is contained in:
Josh Holtrop 2018-04-11 21:36:15 -04:00
parent 3170f0870c
commit 090521a805

View File

@ -121,7 +121,7 @@ L?'\\v' (void)'\v'; return TOK_CHAR_CONST;
0[xX][0-9a-fA-F]+([uU][lL]?[lL]?)? return TOK_INT_CONST;
([0-9]+\.[0-9]*|\.[0-9]+)([eE][-+]?[0-9]+)?[fFlL]? return TOK_FLOAT_CONST;
\" {
L?\" {
if (build_string != NULL)
{
String_free(build_string);