Skip to content

Commit

Permalink
Merge pull request #2 from afrankvt/syntax-bin-literals
Browse files Browse the repository at this point in the history
Add syntax support for binary literals using `0b1011` syntax
  • Loading branch information
mgiannini authored Jul 3, 2020
2 parents ff4e9fc + d61dbba commit 715e062
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Fantom.sublime-syntax
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ contexts:
- scope: invalid.illegal.hex.fan
match: 0x

- scope: constant.numeric.hex.fan
match: '\b0b[0-9A-Fa-f][_0-9A-Fa-f]*'
- scope: invalid.illegal.hex.fan
match: 0b

- scope: constant.numeric.escape.unicode.fan
match: '\\u[0-9A-Fa-f]{4}'
- scope: invalid.illegal.escape.unicode.fan
Expand Down

0 comments on commit 715e062

Please sign in to comment.