Adding support to single quote separator & char literal error workaround

This commit is contained in:
Neko Box Coder
2024-06-08 22:58:10 +01:00
parent 9eb8782ff2
commit 27c3e1857a
2 changed files with 32 additions and 6 deletions

View File

@@ -42,7 +42,8 @@ rules:
end: "'"
skip: "\\\\."
rules:
- error: "..+"
# TODO: Revert back to - error: "..+" once #3127 is merged
- error: "[[:graph:]]{2,}'"
- constant.specialChar: "\\\\([\"'abfnrtv\\\\]|[0-3]?[0-7]{1,2}|x[0-9A-Fa-f]{1,2}|u[0-9A-Fa-f]{4}|U[0-9A-Fa-f]{8})"
- comment: