-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not allow name characters immediately after a number
In cases such as "123a45", the scanner did not report an error, instead returning two tokens '123' and 'a45'. The splitting point depends on the base, so e.g., "16#12fg34" was scanned as '16#12f' and 'g34'. This change makes the scanner reject numbers immediately followed by a name character.
- Loading branch information
Showing
2 changed files
with
74 additions
and
41 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