From f2bb704ad73bb5d75b782a4992e324031a884871 Mon Sep 17 00:00:00 2001 From: calculuswhiz Date: Wed, 13 May 2015 14:02:09 -0500 Subject: [PATCH] Quotation escape correction. --- Assembly x86 AT&T.JSON-tmLanguage | 4 ++-- Assembly x86 AT&T.tmLanguage | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Assembly x86 AT&T.JSON-tmLanguage b/Assembly x86 AT&T.JSON-tmLanguage index 3c5da49..ba3ebc2 100644 --- a/Assembly x86 AT&T.JSON-tmLanguage +++ b/Assembly x86 AT&T.JSON-tmLanguage @@ -229,9 +229,9 @@ }, { "name": "string.quoted", - "match": "(\".*?(?|'.*?(?|'.*?(?|'.*?')", + "match": "(\".*?(?)", "comment": "Note that delimiting strings by any other means besides the double quotes are forbidden unless .altmacro is present or --alternate flag is given to as. ! means next char is a literal, useful for delimiters." }, { diff --git a/Assembly x86 AT&T.tmLanguage b/Assembly x86 AT&T.tmLanguage index 3a5ec5a..5df124e 100644 --- a/Assembly x86 AT&T.tmLanguage +++ b/Assembly x86 AT&T.tmLanguage @@ -429,7 +429,7 @@ comment Note that delimiting strings by any other means besides the double quotes are forbidden unless .altmacro is present or --alternate flag is given to as. ! means next char is a literal, useful for delimiters. match - (".*?(?<![^!]!)"|<.*?(?<![^!]!)>|'.*?(?<![^!]!)') + (".*?(?<![^\\][\\])"|<.*?(?<![^\\][\\])>) name string.quoted