py/compile.c: add missing line for native labels in await

This commit is contained in:
Dan Halbert 2023-10-24 15:39:26 -04:00
parent 339b7e584e
commit 2c795acf1e
1 changed files with 1 additions and 0 deletions

View File

@ -2769,6 +2769,7 @@ STATIC void compile_atom_expr_await(compiler_t *comp, mp_parse_node_struct_t *pn
EMIT_ARG(call_method, 0, 0, 0); EMIT_ARG(call_method, 0, 0, 0);
EMIT_ARG(load_const_tok, MP_TOKEN_KW_NONE); EMIT_ARG(load_const_tok, MP_TOKEN_KW_NONE);
EMIT_ARG(yield, MP_EMIT_YIELD_FROM); EMIT_ARG(yield, MP_EMIT_YIELD_FROM);
reserve_labels_for_native(comp, 3);
} }
#endif #endif