You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Antlr stumbles upon reserved words in wrong contexts, it will stop parsing, pointing to the first failing symbol. It would be nice to throw an error message giving a hint, that the user tried to use a reserved term. A first start may be, taking the token inventory (or hardcoded) in a regex following a word boundary (at least in PQ+), and in case that matches, responding with "Maybe use of a reserved token".
Reported example in PQ+: split.
The text was updated successfully, but these errors were encountered:
When Antlr stumbles upon reserved words in wrong contexts, it will stop parsing, pointing to the first failing symbol. It would be nice to throw an error message giving a hint, that the user tried to use a reserved term. A first start may be, taking the token inventory (or hardcoded) in a regex following a word boundary (at least in PQ+), and in case that matches, responding with "Maybe use of a reserved token".
Reported example in PQ+:
split
.The text was updated successfully, but these errors were encountered: