Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support binary integer literals and digit separators
Example: 0b10000000'00000000'00000000'00000000 I rewrote the pattern to match integer literals so it’s stricter though will still match a partially typed number like ‘0x’ or one with a trailing digit separator (also considered partially typed), although here it marks the trailing separator as invalid.
- Loading branch information
Showing
1 changed file
with
26 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