Commit c471e13 1 parent 519d167 commit c471e13 Copy full SHA for c471e13
File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -31,10 +31,10 @@ syn match tenyrEscape contained '\\[\\'0bfnrtv]'
31
31
syn region tenyrString start =' "' end =' "' contained contains =tenyrEscape
32
32
syn region tenyrStrRegion start =" \. chars\> " end =" $" keepend contains =tenyrString,tenyrStrDir
33
33
34
- syn match tenyrNumber ' -\?\( 0\| [1-9]\( [0-9_]*[0-9]\)\?\)\> ' " decimal
35
- syn match tenyrNumber ' -\? 0[0-7_]*[0-7]' " octal
36
- syn match tenyrNumber ' -\? 0x[[:xdigit:]_]*[[:xdigit:]]' " hexadecimal
37
- syn match tenyrNumber ' -\? 0b[01_]*[01]' " binary
34
+ syn match tenyrNumber ' -\?\<\ ( 0\| [1-9]\( [0-9_]*[0-9]\)\?\)\> ' " decimal
35
+ syn match tenyrNumber ' -\?\< 0[0-7_]*[0-7]' " octal
36
+ syn match tenyrNumber ' -\?\< 0x[[:xdigit:]_]*[[:xdigit:]]' " hexadecimal
37
+ syn match tenyrNumber ' -\?\< 0b[01_]*[01]' " binary
38
38
39
39
let b: current_syntax = " tenyr"
40
40
You can’t perform that action at this time.
0 commit comments