Correct a comment

This commit is contained in:
rocky
2020-02-14 22:47:48 -05:00
parent a37ae1be0d
commit 3918bf248d

View File

@@ -42,6 +42,8 @@ class Python24Parser(Python25Parser):
POP_TOP POP_BLOCK COME_FROM
while1stmt ::= SETUP_LOOP l_stmts_opt JUMP_BACK
POP_TOP POP_BLOCK
while1stmt ::= SETUP_LOOP l_stmts COME_FROM JUMP_BACK
POP_TOP POP_BLOCK COME_FROM
# Python 2.4
# The following has no "JUMP_BACK" after l_stmts because
@@ -49,11 +51,6 @@ class Python24Parser(Python25Parser):
while1stmt ::= SETUP_LOOP l_stmts
POP_TOP POP_BLOCK
# The following has a "COME_FROM" at the end which comes from
# a "break" inside "l_stmts".
while1stmt ::= SETUP_LOOP l_stmts COME_FROM JUMP_BACK
POP_TOP POP_BLOCK COME_FROM
# Python 2.5+:
# call_stmt ::= expr POP_TOP
# expr ::= yield