use antlr 4.4 to make xpath.

This commit is contained in:
Terence Parr 2014-09-29 10:37:00 -07:00
parent badc21bf49
commit 5dc0b706c4
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ TARGETS = {"Java":uniformpath(JAVA_TARGET),
def parsers():
antlr3("tool/src/org/antlr/v4/parse", "gen3", package="org.antlr.v4.parse")
antlr3("tool/src/org/antlr/v4/codegen", "gen3", package="org.antlr.v4.codegen", args=["-lib",uniformpath("gen3/org/antlr/v4/parse")])
antlr4("runtime/Java/src/org/antlr/v4/runtime/tree/xpath", "gen4", package="org.antlr.v4.runtime.tree.xpath")
antlr4("runtime/Java/src/org/antlr/v4/runtime/tree/xpath", "gen4", version="4.4", package="org.antlr.v4.runtime.tree.xpath")
def compile():
require(parsers)