-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes an ambiguity with identifiers and keywords. (#32)
Previously, `SELECTY` would be parsed as keyword `SELECT` identifier `Y`. This fixes the negative look-ahead assertion for keywords to make sure a non-quoted identifier character follows and similarly adds a look-ahead assertion for the prefix of identifiers to not be keywords (which includes the previous assertion). Also fixes a unit test name for identifiers.
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters