From: fennecdjay Date: Thu, 8 Dec 2022 13:32:23 +0000 (+0100) Subject: :art: check result of spid->em X-Git-Tag: nightly~207^2~57 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=770289ec538171770c74957c6feb08bbac52bca7;p=gwion.git :art: check result of spid->em --- diff --git a/src/emit/emit.c b/src/emit/emit.c index bb2911a7..56b0c8e1 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -735,7 +735,7 @@ ANN static m_bool specialid_instr(const Emitter emit, struct SpecialId_ *spid, const Exp_Primary *prim) { if(spid->exec) emit_add_instr(emit, spid->exec); - else if (spid->em) spid->em(emit, prim); + else if (spid->em) return spid->em(emit, prim); return GW_OK; }