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

@@ -955,10 +955,10 @@ def info(args):
p = Python32Parser()
elif arg == '3.0':
p = Python30Parser()
p.checkGrammar()
p.check_grammar()
if len(sys.argv) > 1 and sys.argv[1] == 'dump':
print('-' * 50)
p.dumpGrammar()
p.dump_grammar()
if __name__ == '__main__':
import sys