gnu: antlr3: Fix compilation.
* gnu/packages/java.scm (antlr3)[arguments]: Fix 'generate-grammar' phase.
This commit is contained in:
parent
a811bca289
commit
34aff57c82
|
@ -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;"))
|
||||||
|
|
Loading…
Reference in New Issue