Closed msujew closed 11 months ago
Chevrotain actually doesn't require to put the EOF token in the lexer definition. The EOF token is always implicitly part of the token stream.
Instead, having it in there might lead to issues instead. See also https://github.com/eclipse-langium/langium/discussions/1048#discussioncomment-7503713.
Chevrotain actually doesn't require to put the EOF token in the lexer definition. The EOF token is always implicitly part of the token stream.
Instead, having it in there might lead to issues instead. See also https://github.com/eclipse-langium/langium/discussions/1048#discussioncomment-7503713.