Raku syntax: fix comments (#2318)

Code:
 # sub xyz(Str is encoded("utf8")) returns int32 is native("asdf") { * }
This commit is contained in:
Juan Francisco Cantero Hurtado
2022-01-01 00:51:53 +01:00
committed by GitHub
parent a2d83132ca
commit 3a1ec088e2

View File

@@ -12,10 +12,6 @@ rules:
- identifier: "[$@%&](\\.|!|^)?([[:alpha:]]|_)([[:alnum:]]|-|_)*([[:alnum:]]|_)"
- identifier: "[$@%&](\\?|\\*)([A-Z])([A-Z]|-)*([A-Z])"
- comment: "#\ [^`|=]*"
- comment: "#[:alnum:].*"
- comment: "^#!/.*"
- constant.string:
start: "\""
end: "\""
@@ -40,3 +36,7 @@ rules:
end: "EOSQL"
rules: []
- comment:
start: "#"
end: "$"
rules: []