diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/antlr/files/antlr-3.2-java21.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/dev-java/antlr/files/antlr-3.2-java21.patch b/dev-java/antlr/files/antlr-3.2-java21.patch index 9df897ac22de..8d885f9a5f11 100644 --- a/dev-java/antlr/files/antlr-3.2-java21.patch +++ b/dev-java/antlr/files/antlr-3.2-java21.patch @@ -19,3 +19,13 @@ bug #919684 import antlr.TokenWithIndex; import antlr.CommonToken; import org.antlr.codegen.*; +--- a/tool/src/main/resources/org/antlr/codegen/templates/Java/ST.stg ++++ b/tool/src/main/resources/org/antlr/codegen/templates/Java/ST.stg +@@ -33,6 +33,7 @@ group ST; + @outputFile.imports() ::= << + <@super.imports()> + import org.antlr.stringtemplate.*; ++import org.antlr.stringtemplate.StringTemplate; + import org.antlr.stringtemplate.language.*; + import java.util.HashMap; + >> |