update version

This commit is contained in:
Terence Parr 2015-06-22 17:48:09 -07:00
parent a79e7bc992
commit aa589d50de
3 changed files with 4 additions and 4 deletions

View File

@ -2,12 +2,12 @@ from distutils.core import setup
setup( setup(
name='antlr4-python3-runtime', name='antlr4-python3-runtime',
version='4.5.1', version='4.5.2',
packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree', 'antlr4.error', 'antlr4.xpath'], packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree', 'antlr4.error', 'antlr4.xpath'],
package_dir={'': 'src'}, package_dir={'': 'src'},
url='http://www.antlr.org', url='http://www.antlr.org',
license='BSD', license='BSD',
author='Eric Vergnaud, Terence Parr, Sam Harwell', author='Eric Vergnaud, Terence Parr, Sam Harwell',
author_email='eric.vergnaud@wanadoo.fr', author_email='eric.vergnaud@wanadoo.fr',
description='ANTLR 4.5.1 runtime for Python 3.4.0' description='ANTLR 4.5.2 runtime for Python 3.4.0'
) )

View File

@ -58,7 +58,7 @@ class Recognizer(object):
return major, minor return major, minor
def checkVersion(self, toolVersion): def checkVersion(self, toolVersion):
runtimeVersion = "4.5" runtimeVersion = "4.5.2"
rvmajor, rvminor = self.extractVersion(runtimeVersion) rvmajor, rvminor = self.extractVersion(runtimeVersion)
tvmajor, tvminor = self.extractVersion(toolVersion) tvmajor, tvminor = self.extractVersion(toolVersion)
if rvmajor!=tvmajor or rvminor!=tvminor: if rvmajor!=tvmajor or rvminor!=tvminor:

View File

@ -117,7 +117,7 @@ public class Python3Target extends Target {
@Override @Override
public String getVersion() { public String getVersion() {
return "4.5.1"; return "4.5.2";
} }
/** Avoid grammar symbols in this set to prevent conflicts in gen'd code. */ /** Avoid grammar symbols in this set to prevent conflicts in gen'd code. */