forked from sublimehq/Packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[YAML] Improve numbers (sublimehq#2171)
* [YAML] Improve numbers This commit adds some capturing groups to the existing numeric literal match patterns in order to distinguish the types (int/float/...) and to add scopes for the separators. * [YAML] Rescope the indention indicator The indention indicator is an ordinary integer literal and thus should be scoped as such. Like the file-descriptor in ShellScript, the special meaning is then appended as sub-scope to the ordinary numeric scope.
- Loading branch information
Showing
3 changed files
with
174 additions
and
62 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
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