Skip to content

Parser Error in Comment Token #112

@morris821028

Description

@morris821028

Hi all,

There is a simple case for unicode decoding. I think the unicode behavior is good in string literal, but not all the scope to get a token.

System.out.println("\u51ea");
// \uzzzzzz

The main problem happened in the method readChar() of JavaCharStream.java. How to change this parser?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions