From d26c06461322a37b6eebf1f56abbbfa4745eb901 Mon Sep 17 00:00:00 2001 From: "@TT" <1sand0s@users.noreply.github.com> Date: Fri, 23 Sep 2022 16:28:29 -0500 Subject: [PATCH] Removing unecessary escape Signed-off-by: 1sand0s <1sand0sardpi@gmail.com> --- tool/src/org/antlr/v4/codegen/Target.java | 1 - 1 file changed, 1 deletion(-) diff --git a/tool/src/org/antlr/v4/codegen/Target.java b/tool/src/org/antlr/v4/codegen/Target.java index b4b5efdea8..e109850309 100644 --- a/tool/src/org/antlr/v4/codegen/Target.java +++ b/tool/src/org/antlr/v4/codegen/Target.java @@ -167,7 +167,6 @@ public String getTargetStringLiteralFromString(String s, boolean quoted) { return null; } - s = escapeIfNeeded(s); StringBuilder buf = new StringBuilder(); if ( quoted ) { buf.append('"');