Closed andreasabel closed 5 years ago
BNFC chokes on a definition like the following in the grammar file.
token Name (char - [ "-(){};.@\" \n\r\t\f" ]) + ;
The reason is that the BNF lexer does handle \r (carriage return) and \f (form feed).
\r
\f
This seems like a critical issue.
If I cherry-pick your commits, will it fix this issue?
Also it appears BNFC does not support grammars with \0.
\0
I now merged my PR. Let me know if there are problems still.
BNFC chokes on a definition like the following in the grammar file.
The reason is that the BNF lexer does handle
\r
(carriage return) and\f
(form feed).