From 1fcfadb9c82132292cb81ab77d297ab8fa97db7b Mon Sep 17 00:00:00 2001 From: rocky Date: Mon, 27 Nov 2017 07:27:50 -0500 Subject: [PATCH] Grammar reduction inch by inch --- uncompyle6/parsers/parse2.py | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/uncompyle6/parsers/parse2.py b/uncompyle6/parsers/parse2.py index 1bd32891..11d35e66 100644 --- a/uncompyle6/parsers/parse2.py +++ b/uncompyle6/parsers/parse2.py @@ -131,17 +131,9 @@ class Python2Parser(PythonParser): _ifstmts_jump ::= return_if_stmts - iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE - + iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE iflaststmtl ::= testexpr c_stmts_opt JUMP_BACK - ifelsestmt ::= testexpr c_stmts_opt JUMP_FORWARD else_suite COME_FROM - - ifelsestmtc ::= testexpr c_stmts_opt JUMP_ABSOLUTE else_suitec - - ifelsestmtl ::= testexpr c_stmts_opt JUMP_BACK else_suitel - - # this is nested inside a trystmt tryfinallystmt ::= SETUP_FINALLY suite_stmts_opt POP_BLOCK LOAD_CONST