Skip to content
Discussion options

You must be logged in to vote

The usual solution is to use a "data type rule" for regular IDs:

RegularID returns string: ID | 'in';

That includes the listed keywords where a regular ID is possible. However, that's not considered in syntax highlighting, so in would still be highlighted as keyword regardless where it's used. To avoid that, you can turn off generating the highlighting file and manually remove the keyword.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@msujew
Comment options

Answer selected by ymc9
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants