gnu: antlr3: Fix compilation.

* gnu/packages/java.scm (antlr3)[arguments]: Fix 'generate-grammar' phase.
This commit is contained in:
Julien Lepiller 2018-07-13 18:36:57 +02:00
parent a811bca289
commit 34aff57c82
No known key found for this signature in database
GPG Key ID: 43111F4520086A0C
1 changed files with 0 additions and 2 deletions

View File

@ -6164,8 +6164,6 @@ StringTemplate also powers ANTLR.")
(substitute* "ANTLRv3Parser.java" (substitute* "ANTLRv3Parser.java"
(("public Object getTree") "public CommonTree getTree")) (("public Object getTree") "public CommonTree getTree"))
(chdir "../../../../../java") (chdir "../../../../../java")
(invoke "antlr" "-o" "org/antlr/tool"
"org/antlr/tool/serialize.g")
(substitute* "org/antlr/tool/LeftRecursiveRuleAnalyzer.java" (substitute* "org/antlr/tool/LeftRecursiveRuleAnalyzer.java"
(("import org.antlr.grammar.v3.\\*;") "import org.antlr.grammar.v3.*; (("import org.antlr.grammar.v3.\\*;") "import org.antlr.grammar.v3.*;
import org.antlr.grammar.v3.ANTLRTreePrinter;")) import org.antlr.grammar.v3.ANTLRTreePrinter;"))