Merge pull request #7 from amrnt/master

fix python syntax to prioritize multi liner comments
This commit is contained in:
Zachary Yedidia
2017-03-23 15:18:35 -04:00
committed by GitHub
2 changed files with 26 additions and 26 deletions
+12 -12
View File
@@ -29,18 +29,6 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"
@@ -55,3 +43,15 @@ rules:
start: "'''"
end: "'''"
rules: []
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."
+12 -12
View File
@@ -28,18 +28,6 @@ rules:
# numbers
- constant.number: "\\b[0-9]+\\b"
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."
- comment:
start: "#"
end: "$"
@@ -54,3 +42,15 @@ rules:
start: "'''"
end: "'''"
rules: []
- constant.string:
start: "\""
end: "\""
rules:
- constant.specialChar: "\\\\."
- constant.string:
start: "'"
end: "'"
rules:
- constant.specialChar: "\\\\."