using keyword without explicitly defining an identifier lexeme creates an identifier lexeme
Closed this issue · 0 comments
b3b00 commented
defining following lexer
public enum Issue447Lexer
{
EOS = 0,
[Keyword("A")]
A,
}
implicitly defines an identifier lexeme. So lexing aa
leads to a single token aa
(EOS) . But we'd rather expect 2 tokens a
(A).