Closed ZeroAicy closed 1 month ago
Java with Chinese identifiers may encounter parsing errors
//https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-IdentifierChars identifier: $ => /[\p{L}_$][\p{L}\p{Nd}\u00A2_$]*/,
//https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-IdentifierChars
identifier: $ => /[\p{L}_$][\p{L}\p{Nd}\u00A2_$]*/,
Did you not handle Unicode characters that Java can support
identifier: _ => /[\p{XIDStart}$][\p{XIDContinue}\u00A2$]*/, ???
Report this in tree-sitter-java.
Java with Chinese identifiers may encounter parsing errors
//https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-IdentifierChars
identifier: $ => /[\p{L}_$][\p{L}\p{Nd}\u00A2_$]*/,
Did you not handle Unicode characters that Java can support