py/compile.c: add missing line for native labels in await
This commit is contained in:
parent
339b7e584e
commit
2c795acf1e
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue