One more _come_from -> _come_froms

This commit is contained in:
rocky
2017-12-03 05:22:12 -05:00
parent 32f3d947bb
commit cfce914889
2 changed files with 4 additions and 4 deletions

View File

@@ -3,11 +3,11 @@
# end of if can come from both finishing loop
# and not taking the if.
# whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK \e__come_from
# whilestmt ::= SETUP_LOOP testexpr l_stmts_opt JUMP_BACK POP_BLOCK \e__come_froms
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD \e__come_from
# ifstmt ::= testexpr _ifstmts_jump
# _come_from ::= _come_from COME_FROM
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_from
# _come_froms ::= _come_froms COME_FROM
# _ifstmts_jump ::= c_stmts_opt JUMP_FORWARD _come_froms
def splitext(p, sep, altsep, extsep):
if altsep > extsep:

View File

@@ -97,7 +97,7 @@ class Python27Parser(Python2Parser):
# assert condition, expr
assert2 ::= assert_expr jmp_true LOAD_ASSERT expr CALL_FUNCTION_1 RAISE_VARARGS_1
for_block ::= return_stmts _come_from
for_block ::= return_stmts _come_froms
withstmt ::= expr SETUP_WITH POP_TOP suite_stmts_opt
POP_BLOCK LOAD_CONST COME_FROM_WITH