The method for defining reserved words in general is to have a rule that
matches them (typically "match anything in this array" or a long
alternation), and then modifying the rules where those reserved words are
not allowed to reject them.

So for that grammar, you want to change "identifier" to reject :i/WHERE/

The exact method of doing so, I don't know!

Reply via email to