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

@@ -101,7 +101,6 @@ class Python27Parser(Python2Parser):
assert2 ::= assert_expr jmp_true LOAD_ASSERT expr CALL_FUNCTION_1 RAISE_VARARGS_1
for_block ::= return_stmts _come_from
del_stmt ::= expr expr DELETE_SLICE+1
withstmt ::= expr SETUP_WITH POP_TOP suite_stmts_opt
POP_BLOCK LOAD_CONST COME_FROM_WITH