Nothing Special   »   [go: up one dir, main page]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java/ANTLR does not lex escape sequences in String #451

Closed
andreasabel opened this issue Jul 26, 2023 · 1 comment
Closed

Java/ANTLR does not lex escape sequences in String #451

andreasabel opened this issue Jul 26, 2023 · 1 comment
Assignees
Labels
bug Java/ANTLR lexer Concerning the generated lexer
Milestone

Comments

@andreasabel
Copy link
Member

The lexer generated for String by the Java/ANTLR backend does not translate escape sequences, e.g. \n is not translated to a newline character but it remains backslash followed by n.

ATTN: @gapag

@andreasabel
Copy link
Member Author

Looks like getStringFromGrammarStringLiteral does not do the job.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Java/ANTLR lexer Concerning the generated lexer
Projects
None yet
Development

No branches or pull requests

1 participant