-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Description
Converting this grammar https://github.com/youtube/cobalt/blob/main/cobalt/css_parser/grammar.y I found that lalr
has trouble parsing/lexing the identifier errors
.
error_bug {
%whitespace "[ \t\r\n]*";
%whitespace "//[^\n\r]*";
//%whitespace "/\*[^*]+\*/";
%whitespace "/\*:C_MultilineComment:";
errors :
error
| errors error
;
}
Output:
lalr (10:0): ERROR: undefined symbol 's'
Error compiling grammar. Error count = 1
Metadata
Metadata
Assignees
Labels
No labels