Add global statements even for read of globals

This commit is contained in:
rocky
2017-12-02 19:13:11 -05:00
parent ec9d00a34d
commit 5ae32de709
6 changed files with 32 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ class Python2Parser(PythonParser):
raise_stmt3 ::= expr expr expr RAISE_VARARGS_3
del_stmt ::= expr DELETE_SLICE+0
del_stmt ::= expr expr DELETE_SLICE+1
del_stmt ::= expr expr DELETE_SLICE+2
del_stmt ::= expr expr expr DELETE_SLICE+3
del_stmt ::= delete_subscr