mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 14:22:42 +09:00
syntax: Remove empty rules in regions
This commit is contained in:
@@ -31,22 +31,18 @@ rules:
|
||||
- constant.string:
|
||||
start: "[bc]?r#\""
|
||||
end: "\"#"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "[bc]?r##\""
|
||||
end: "\"##"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "[bc]?r###\""
|
||||
end: "\"###"
|
||||
rules: []
|
||||
|
||||
- constant.string:
|
||||
start: "[bc]?r####+\""
|
||||
end: "\"####+"
|
||||
rules: []
|
||||
|
||||
# Character literals
|
||||
# NOTE: This is an ugly hack to work around the fact that rust uses
|
||||
@@ -58,7 +54,6 @@ rules:
|
||||
- constant.string:
|
||||
start: "'\""
|
||||
end: "'"
|
||||
rules: []
|
||||
|
||||
- comment:
|
||||
start: "//"
|
||||
@@ -75,4 +70,3 @@ rules:
|
||||
- special:
|
||||
start: "#!\\["
|
||||
end: "\\]"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user