Issue #698 Allowing unicode letters in identifiers

This commit is contained in:
Jindra Petřík
2014-11-05 18:29:54 +01:00
parent e19562fefd
commit fba15b21f7
3 changed files with 741 additions and 735 deletions
@@ -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 = ".<"