From: Jérémie Astor Date: Tue, 26 May 2020 17:53:25 +0000 (+0200) Subject: :bug: Same for func_def X-Git-Tag: nightly~1507 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=dbfa16a4597c5f7ca267249609f1d6c8bb7129d5;p=gwion.git :bug: Same for func_def --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 2c6a0e84..db22c519 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -1980,6 +1980,8 @@ ANN static m_bool emit_func_def(const Emitter emit, const Func_Def f) { emit->env->func = former; if(ret > 0) emit_fdef_finish(emit, fdef); + else + emit_pop_code(emit); return ret; }