Add support for skipping

This commit is contained in:
Zachary Yedidia
2017-03-27 20:47:03 -04:00
parent 7c0a62e2a4
commit 98b6b4f75e
51 changed files with 134 additions and 100 deletions
+4 -2
View File
@@ -29,7 +29,8 @@ rules:
- constant.string:
start: "\""
end: "(?<!\\\\)\""
end: "\""
skip: "\\\\."
rules:
- constant.specialChar: "%."
- constant.specialChar: "\\\\[abfnrtv'\\\"\\\\]"
@@ -37,7 +38,8 @@ rules:
- constant.string:
start: "'"
end: "(?<!\\\\)'"
end: "'"
skip: "\\\\."
rules:
- error: "..+"
- constant.specialChar: "%."