More spark-parser 2.7.0 compatabilithy changes

This commit is contained in:
rocky
2017-10-10 15:11:08 -04:00
parent 1392b18bd7
commit adc9b99106
17 changed files with 26 additions and 27 deletions

View File

@@ -276,7 +276,7 @@ class Python26ParserSingle(Python2Parser, PythonParserSingle):
if __name__ == '__main__':
# Check grammar
p = Python26Parser()
p.checkGrammar()
p.check_grammar()
from uncompyle6 import PYTHON_VERSION, IS_PYPY
if PYTHON_VERSION == 2.6:
lhs, rhs, tokens, right_recursive = p.check_sets()