From f4135a11f1a0af3fe2e33da6ed88d704d2972655 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 31 May 2020 20:46:01 +0200 Subject: [PATCH] :bug: Fix emit_range --- src/emit/emit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emit/emit.c b/src/emit/emit.c index 330c636d..a08ce3cc 100644 --- a/src/emit/emit.c +++ b/src/emit/emit.c @@ -387,11 +387,11 @@ ANN static inline m_bool emit_exp_pop_next(const Emitter emit, Exp e); ANN static m_bool emit_range(const Emitter emit, Range *range) { if(range->start) - CHECK_OB(emit_exp_pop_next(emit, range->start)) + CHECK_BB(emit_exp_pop_next(emit, range->start)) else regpushi(emit, 0); if(range->end) - CHECK_OB(emit_exp_pop_next(emit, range->end)) + CHECK_BB(emit_exp_pop_next(emit, range->end)) else regpushi(emit, -1); return GW_OK; -- 2.43.0