Skip to content

Commit 2c795ac

Browse files
committed
py/compile.c: add missing line for native labels in await
1 parent 339b7e5 commit 2c795ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

py/compile.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2769,6 +2769,7 @@ STATIC void compile_atom_expr_await(compiler_t *comp, mp_parse_node_struct_t *pn
27692769
EMIT_ARG(call_method, 0, 0, 0);
27702770
EMIT_ARG(load_const_tok, MP_TOKEN_KW_NONE);
27712771
EMIT_ARG(yield, MP_EMIT_YIELD_FROM);
2772+
reserve_labels_for_native(comp, 3);
27722773
}
27732774
#endif
27742775

0 commit comments

Comments
 (0)