Many optimizations and new syntax files

This commit is contained in:
Zachary Yedidia
2017-03-26 19:14:03 -04:00
parent 56f3992cdb
commit 084c2be66c
103 changed files with 2079 additions and 342 deletions
+5 -4
View File
@@ -26,7 +26,7 @@ rules:
# Character literals
- constant.string:
start: "'"
end: "'"
end: "(?<!\\\\)'"
rules:
- constant.specialChar: "\\\\."
# Keywords
@@ -52,13 +52,13 @@ rules:
# DoubleQuotedString
- constant.string:
start: "\""
end: "\""
end: "(?<!\\\\)\""
rules:
- constant.specialChar: "\\\\."
# WysiwygString
- constant.string:
start: "r\""
end: "\""
end: "(?<!\\\\)\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
@@ -69,7 +69,7 @@ rules:
# HexString
- constant.string:
start: "x\""
end: "\""
end: "(?<!\\\\)\""
rules:
- constant.specialChar: "\\\\."
# DelimitedString
@@ -116,3 +116,4 @@ rules:
start: "/\\+"
end: "\\+/"
rules: []