Revert "syntax: Remove empty rules in regions"

This reverts commit a9b513a28a.
This commit is contained in:
Jöran Karl
2025-08-31 13:47:53 +02:00
parent b8057f28c6
commit 0277516eef
69 changed files with 138 additions and 0 deletions

View File

@@ -28,10 +28,12 @@ rules:
start: "'"
end: "'"
skip: "\\\\'"
rules: []
- comment:
start: "#"
end: "$"
rules: []
- constant.string: "\"\\(.*\\)\"|qq?\\|.*\\||qq?\\{.*\\}|qq?\\/.*\\/"
- constant.number: "\\b([0-9]*[.])?[0-9]+"
@@ -43,11 +45,14 @@ rules:
- preproc:
start: "(^use| = new)"
end: ";"
rules: []
- comment:
start: "^="
end: "^=cut"
rules: []
- identifier.macro:
start: "<< 'STOP'"
end: "STOP"
rules: []