Skip to content

Commit

Permalink
dev-java/antlr: 3.2-r1 fix test failures
Browse files Browse the repository at this point in the history
Signed-off-by: Volkmar W. Pogatzki <[email protected]>
Closes: gentoo#35979
Signed-off-by: Miroslav Šulc <[email protected]>
  • Loading branch information
vaukai authored and fordfrog committed Apr 15, 2024
1 parent 6c03ff4 commit 4a0cee1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dev-java/antlr/files/antlr-3.2-java21.patch
Original file line number Diff line number Diff line change
Expand Up @@ -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;
>>

0 comments on commit 4a0cee1

Please sign in to comment.