Merge pull request #1099 from parrt/master

fix python bug
This commit is contained in:
Terence Parr 2016-01-28 10:50:27 -08:00
commit 80b7d5a25c
2 changed files with 3 additions and 1 deletions

View File

@ -83,5 +83,6 @@ YYYY/MM/DD, github id, Full name, email
2015/10/12, KvanTTT, Ivan Kochurkin, ivan.kochurkin@gmail.com
2015/10/21, martin-probst, Martin Probst, martin-probst@web.de
2015/10/21, hkff, Walid Benghabrit, walid.benghabrit@mines-nantes.fr
2015/11/12, cooperra, Robbie Cooper, cooperra@users.noreply.github.com
2015/11/25, abego, Udo Borkowski, ub@abego.org
2015/12/17, sebadur, Sebastian Badur, sebadur@users.noreply.github.com
2015/12/17, sebadur, Sebastian Badur, sebadur@users.noreply.github.com

View File

@ -130,6 +130,7 @@ class LexerATNSimulator(ATNSimulator):
self.startIndex = -1
self.line = 1
self.column = 0
from antlr4.Lexer import Lexer
self.mode = Lexer.DEFAULT_MODE
def matchATN(self, input:InputStream):