From 00808ef11fef46163e4189907acff0517b1044c0 Mon Sep 17 00:00:00 2001 From: Terence Parr Date: Tue, 3 Jul 2012 13:44:44 -0700 Subject: [PATCH] off by 1 error. --- .../org/antlr/v4/tool/templates/codegen/Java/Java.stg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tool/resources/org/antlr/v4/tool/templates/codegen/Java/Java.stg b/tool/resources/org/antlr/v4/tool/templates/codegen/Java/Java.stg index 17912ebb7..28e3f69a0 100644 --- a/tool/resources/org/antlr/v4/tool/templates/codegen/Java/Java.stg +++ b/tool/resources/org/antlr/v4/tool/templates/codegen/Java/Java.stg @@ -123,8 +123,7 @@ public abstract class extend =}; separator=", ", wrap, anchor>; public static final String[] tokenNames = { - "\", - }; null="null", separator=", ", wrap, anchor> + }; null="\"\\"", separator=", ", wrap, anchor> }; public static final int = }; separator=", ", wrap, anchor>;