From dbfa16a4597c5f7ca267249609f1d6c8bb7129d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Tue, 26 May 2020 19:53:25 +0200 Subject: [PATCH] :bug: Same for func_def --- src/emit/emit.c | 2 ++ 1 file changed, 2 insertions(+) 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; } -- 2.43.0