3.0 return_if_stmt and...

* Some grammar cleanup
* add more grammar debugging
This commit is contained in:
rocky
2019-11-16 17:32:48 -05:00
parent a3a15414d3
commit f1496cad4d
8 changed files with 52 additions and 17 deletions

View File

@@ -467,7 +467,7 @@ if __name__ == '__main__':
p.check_grammar()
from uncompyle6 import PYTHON_VERSION, IS_PYPY
if PYTHON_VERSION == 2.6:
lhs, rhs, tokens, right_recursive = p.check_sets()
lhs, rhs, tokens, right_recursive, dup_rhs = p.check_sets()
from uncompyle6.scanner import get_scanner
s = get_scanner(PYTHON_VERSION, IS_PYPY)
opcode_set = set(s.opc.opname).union(set(