mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-09-28 00:30:45 +00:00
Issue #698 Allowing unicode letters in identifiers
This commit is contained in:
+694
-684
File diff suppressed because it is too large
Load Diff
+4
-1
@@ -119,9 +119,12 @@ TraditionalComment = "/*" [^*] ~"*/" | "/*" "*"+ "/"
|
||||
EndOfLineComment = "//" {InputCharacter}* {LineTerminator}?
|
||||
|
||||
|
||||
IdentFirst = [\p{Lu}\p{Ll}\p{Lt}\p{Lm}\p{Lo}_$]
|
||||
IdentNext = {IdentFirst} | [\p{Nl}\p{Mn}\p{Mc}\p{Nd}\p{Pc}]
|
||||
|
||||
|
||||
/* identifiers */
|
||||
Identifier = [:jletter:][:jletterdigit:]*
|
||||
Identifier = {IdentFirst}{IdentNext}*
|
||||
|
||||
TypeNameSpec = ".<"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user