From: Jérémie Astor Date: Sun, 15 May 2022 16:44:02 +0000 (+0200) Subject: clean X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=94cfcdeb81452b4406442a674e625bd530bdc997;p=gwion.git clean --- diff --git a/src/emit/emit.c b/src/emit/emit.c index 312497ef..50b8fe2c 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -932,9 +932,8 @@ ANN static m_bool emit_prim_locale(const Emitter emit, const Symbol *id) { vm_run(emit->gwion->vm); emit->gwion->vm->bbq->is_running = true; const m_float ret = *(m_float*)shred->reg; - if(ret == -1.0) { + if(ret == -1.0) ERR_B(prim_pos(id), "error in locale"); - } const Instr instr = emit_add_instr(emit, RegPushImm2); instr->f = ret; return GW_OK;