aboutsummaryrefslogtreecommitdiff
path: root/src/interp/ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/ops.c')
-rw-r--r--src/interp/ops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/interp/ops.c b/src/interp/ops.c
index de69126..2bfdff0 100644
--- a/src/interp/ops.c
+++ b/src/interp/ops.c
@@ -18,8 +18,8 @@ static void (*const ops[])(struct nw_interp *) =
nwp_op_nop, /* OP_NOP */
nwp_op_block, /* OP_BLOCK */
nwp_op_loop, /* OP_LOOP */
- NULL, /* OP_IF */
- NULL, /* OP_ELSE */
+ nwp_op_if, /* OP_IF */
+ nwp_op_else, /* OP_ELSE */
NULL,
NULL,
NULL,