starter: Explicitly allow @# at the beginning of strings
Since we treat everything after # as comment identities of type ID_KEY_ID couldn't be parsed otherwise, unless quoted.
This commit is contained in:
@@ -79,7 +79,7 @@ static void include_files(parser_helper_t *ctx);
|
||||
yy_push_state(str, yyscanner);
|
||||
}
|
||||
|
||||
[^\"#= \t\n]+ {
|
||||
(@#)?[^\"#= \t\n]+ {
|
||||
yylval->s = strdup(yytext);
|
||||
return STRING;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user