From 119bc9794c8bcfb1912853b5fd14cc4476e466a6 Mon Sep 17 00:00:00 2001 From: Jesse McDonald Date: Wed, 14 Oct 2020 01:20:40 -0500 Subject: [PATCH] Recognize escape sequences other than \" in strings. --- syntax/gas.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/syntax/gas.vim b/syntax/gas.vim index 7fb1b94..93b4ae7 100644 --- a/syntax/gas.vim +++ b/syntax/gas.vim @@ -69,7 +69,7 @@ syn match gasSymbolRef /\$[-_$.A-Za-z][-_$.A-Za-z0-9]*\>/ syn match gasSpecial /\<[$.]\>/ " constants -syn region gasString start=/"/ end=/"/ skip=/\\"/ +syn region gasString start=/"/ end=/"/ skip=/\\./ syn match gasCharacter /'\(?\|\\?\)/ syn match gasDecimalNumber /\$\?-\?\d\+/ syn match gasBinaryNumber /\$\?-\?0b[01]\+/