-
Notifications
You must be signed in to change notification settings - Fork 734
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix floating point separators in Rust lexer (#1581)
The Rust lexer does not currently support the use of `_` in floating point numbers. If the separator comes immedately after the first digit, Rouge lexes it as an error. This commit fixes that bug.
- Loading branch information
1 parent
a9fdd44
commit 6c9d1b7
Showing
2 changed files
with
5 additions
and
1 deletion.
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