From 770289ec538171770c74957c6feb08bbac52bca7 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Thu, 8 Dec 2022 14:32:23 +0100 Subject: [PATCH] :art: check result of spid->em --- src/emit/emit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.43.0