del_stmt -> delete to match Python AST better

This commit is contained in:
rocky
2020-09-02 07:14:56 -04:00
parent 67c45467c3
commit 8879708da7
12 changed files with 32 additions and 32 deletions

View File

@@ -230,9 +230,9 @@ class Python26Parser(Python2Parser):
list_iter ::= list_if JUMP_BACK
list_iter ::= list_if JUMP_BACK COME_FROM POP_TOP
list_comp ::= BUILD_LIST_0 DUP_TOP
store list_iter del_stmt
store list_iter delete
list_comp ::= BUILD_LIST_0 DUP_TOP
store list_iter JUMP_BACK del_stmt
store list_iter JUMP_BACK delete
lc_body ::= LOAD_NAME expr LIST_APPEND
lc_body ::= LOAD_FAST expr LIST_APPEND