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

@@ -12,6 +12,7 @@ rules:
- special:
start: "asm"
end: "end"
rules: []
- constant.number: "\\$[0-9A-Fa-f]+"
- constant.number: "\\b[+-]?[0-9]+([.]?[0-9]+)?(?i:e[+-]?[0-9]+)?"
- constant.string:
@@ -28,13 +29,17 @@ rules:
- preproc:
start: "{\\$"
end: "}"
rules: []
- comment:
start: "//"
end: "$"
rules: []
- comment:
start: "\\(\\*"
end: "\\*\\)"
rules: []
- comment:
start: "({)(?:[^$])"
end: "}"
rules: []