Skip to content
Discussion options

You must be logged in to vote

Just for other users who stumble upon this question

As @luan-xiaokun correctly points out, in #792 the precedence of keywords compared to terminals is explained. This allows correct lexing of keywords which would be otherwise identified as IDs or similar terminals. This behavior is implemented in the DefaultTokenBuilder class.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@luan-xiaokun
Comment options

Answer selected by msujew
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants