Pevious commit grammar change is Python 3.5 and up

This commit is contained in:
rocky
2016-04-30 04:03:38 -04:00
parent 43f5c5dcca
commit f3a4e6ee54
2 changed files with 2 additions and 0 deletions

Binary file not shown.

View File

@@ -274,6 +274,8 @@ class Python3Parser(PythonParser):
_ifstmts_jump ::= return_if_stmts _ifstmts_jump ::= return_if_stmts
_ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from _come_from
# FIXME: this optimization is only used in Python 3.5 and beyond
_ifstmts_jump ::= c_stmts_opt _ifstmts_jump ::= c_stmts_opt
iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE iflaststmt ::= testexpr c_stmts_opt JUMP_ABSOLUTE