use generated jar not hardcoded 4.5

This commit is contained in:
Terence Parr 2015-05-18 12:57:32 -07:00
parent baee367529
commit f645e175ad
1 changed files with 1 additions and 1 deletions

View File

@ -245,7 +245,7 @@ def regen_tests():
+ os.pathsep + hamcrest_jar
args = ["-nowarn", "-Xlint", "-Xlint:-serial", "-g"]
javac("tool/test", "out/test", version="1.6", cp=cp, args=args) # all targets can use org.antlr.v4.test.*
java(classname="org.antlr.v4.test.rt.gen.Generator", cp="out/test:dist/antlr4-4.5-complete.jar")
java(classname="org.antlr.v4.test.rt.gen.Generator", cp="out/test:dist/antlr4-"+VERSION+"-complete.jar")
print_and_log("test generation complete")