forked from jasder/antlr
update version
This commit is contained in:
parent
c67f4725f8
commit
d568bcc1b3
4
setup.py
4
setup.py
|
@ -2,12 +2,12 @@ from distutils.core import setup
|
|||
|
||||
setup(
|
||||
name='antlr4-python2-runtime',
|
||||
version='4.5.1',
|
||||
version='4.5.2',
|
||||
packages=['antlr4', 'antlr4.atn', 'antlr4.dfa', 'antlr4.tree', 'antlr4.error', 'antlr4.xpath'],
|
||||
package_dir={'': 'src'},
|
||||
url='http://www.antlr.org',
|
||||
license='BSD',
|
||||
author='Eric Vergnaud, Terence Parr, Sam Harwell',
|
||||
author_email='eric.vergnaud@wanadoo.fr',
|
||||
description='ANTLR 4.5.1 runtime for Python 2.7.6'
|
||||
description='ANTLR 4.5.2 runtime for Python 2.7.6'
|
||||
)
|
||||
|
|
|
@ -55,7 +55,7 @@ class Recognizer(object):
|
|||
return major, minor
|
||||
|
||||
def checkVersion(self, toolVersion):
|
||||
runtimeVersion = "4.5"
|
||||
runtimeVersion = "4.5.2"
|
||||
rvmajor, rvminor = self.extractVersion(runtimeVersion)
|
||||
tvmajor, tvminor = self.extractVersion(toolVersion)
|
||||
if rvmajor!=tvmajor or rvminor!=tvminor:
|
||||
|
|
|
@ -115,7 +115,7 @@ public class Python2Target extends Target {
|
|||
|
||||
@Override
|
||||
public String getVersion() {
|
||||
return "4.5.1";
|
||||
return "4.5.2";
|
||||
}
|
||||
|
||||
public Set<String> getBadWords() {
|
||||
|
|
Loading…
Reference in New Issue