From 94cfcdeb81452b4406442a674e625bd530bdc997 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 15 May 2022 18:44:02 +0200 Subject: [PATCH] clean --- src/emit/emit.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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; -- 2.43.0