You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Java/ANTLR does not lex escape sequences in String #451
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.
Activity
Fix #451: C/C++/Java printer: escape newlines and other special chara…
Fix #451: Java/ANTLR: unescape Char and String literals in parser
andreasabel commentedon Jul 26, 2023
Looks like
getStringFromGrammarStringLiteraldoes not do the job.Fix #451 again: Java/ANTLR: use String.translateEscapes() of Java 15
Fix #451 again: Java/ANTLR: use String.translateEscapes() of Java 15