fixed expr node
This commit is contained in:
parent
4577d0cc12
commit
368690ccd9
@ -24,6 +24,9 @@ def parse_stmts(ctx: Context,
|
||||
a, b, returned = parse_for_stmt(ctx, sym_table2, used_sym_table2, return_ty, node)
|
||||
elif isinstance(node, ast.Return):
|
||||
a, b, returned = parse_return_stmt(ctx, sym_table2, used_sym_table2, return_ty, node)
|
||||
elif isinstance(node, ast.Expr):
|
||||
parse_expr(ctx, sym_table2, node.value)
|
||||
continue
|
||||
elif isinstance(node, ast.Break) or isinstance(node, ast.Continue):
|
||||
continue
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user