Recognize escape sequences other than \" in strings.
This commit is contained in:
parent
87094eea28
commit
119bc9794c
|
|
@ -69,7 +69,7 @@ syn match gasSymbolRef /\$[-_$.A-Za-z][-_$.A-Za-z0-9]*\>/
|
||||||
syn match gasSpecial /\<[$.]\>/
|
syn match gasSpecial /\<[$.]\>/
|
||||||
|
|
||||||
" constants
|
" constants
|
||||||
syn region gasString start=/"/ end=/"/ skip=/\\"/
|
syn region gasString start=/"/ end=/"/ skip=/\\./
|
||||||
syn match gasCharacter /'\(?\|\\?\)/
|
syn match gasCharacter /'\(?\|\\?\)/
|
||||||
syn match gasDecimalNumber /\$\?-\?\d\+/
|
syn match gasDecimalNumber /\$\?-\?\d\+/
|
||||||
syn match gasBinaryNumber /\$\?-\?0b[01]\+/
|
syn match gasBinaryNumber /\$\?-\?0b[01]\+/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue