mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-29 22:27:13 +09:00
Revert "syntax: Remove empty rules in regions"
This reverts commit a9b513a28a.
This commit is contained in:
@@ -31,18 +31,22 @@ 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
|
||||
@@ -54,6 +58,7 @@ rules:
|
||||
- constant.string:
|
||||
start: "'\""
|
||||
end: "'"
|
||||
rules: []
|
||||
|
||||
- comment:
|
||||
start: "//"
|
||||
@@ -70,3 +75,4 @@ rules:
|
||||
- special:
|
||||
start: "#!\\["
|
||||
end: "\\]"
|
||||
rules: []
|
||||
|
||||
Reference in New Issue
Block a user