Add skip statements to all strings

This commit is contained in:
Zachary Yedidia
2017-03-29 09:45:16 -04:00
parent a517ea45bd
commit 47ef864295
51 changed files with 135 additions and 52 deletions

View File

@@ -30,6 +30,7 @@ rules:
- constant.string:
start: "\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "%."
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
@@ -38,6 +39,7 @@ rules:
- constant.string:
start: "'"
end: "'"
skip: "\\\\."
rules:
- error: "..+"
- constant.specialChar: "%."