Recognize escape sequences other than \" in strings.

This commit is contained in:
Jesse D. McDonald 2020-10-14 01:20:40 -05:00
parent 87094eea28
commit 119bc9794c
1 changed files with 1 additions and 1 deletions

View File

@ -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]\+/