From ffed18bc0c76e1b0de5ceb3b717394d66cc0feb8 Mon Sep 17 00:00:00 2001 From: msheets Date: Thu, 10 Aug 2006 05:04:18 +0000 Subject: [PATCH] Remove swallow use in favor of a constant.character.escape pattern. git-svn-id: http://macromates.com/svn/Bundles/trunk/Bundles/JavaScript.tmbundle@4645 dfb7d73b-c2ec-0310-8fea-fb051d288c6d --- Syntaxes/JavaScript.plist | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) diff --git a/Syntaxes/JavaScript.plist b/Syntaxes/JavaScript.plist index db77896..76a0f15 100644 --- a/Syntaxes/JavaScript.plist +++ b/Syntaxes/JavaScript.plist @@ -116,8 +116,15 @@ string.quoted.single.js end ' - swallow - \\. + patterns + + + match + \\. + name + constant.character.escape.js + + begin @@ -134,8 +141,15 @@ string.quoted.double.js end " - swallow - \\. + patterns + + + match + \\. + name + constant.character.escape.js + + begin