summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-02-26 21:49:30 -0500
committerAdrian Thurston <thurston@complang.org>2015-02-26 21:49:30 -0500
commitd0c0906259471083909927ea7713fa94b9284997 (patch)
tree238c322e5ec9a223b9844ba215e7452d6732f1b4
parentedc094c87f02ad4fb190fdef1a63ae4561d6e303 (diff)
downloadcolm-d0c0906259471083909927ea7713fa94b9284997.tar.gz
fixed a couple opcodes with missing breaks
-rw-r--r--src/bytecode.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bytecode.c b/src/bytecode.c
index 80a346e4..c17efae3 100644
--- a/src/bytecode.c
+++ b/src/bytecode.c
@@ -1613,6 +1613,7 @@ again:
Tree *o1 = vm_pop();
Tree *val = (long)o1 <= (long)o2 ? prg->trueVal : prg->falseVal;
vm_push( val );
+ break;
}
case IN_TST_LESS_EQL_TREE: {
debug( prg, REALM_BYTECODE, "IN_TST_LESS_EQL_TREE\n" );
@@ -1625,6 +1626,7 @@ again:
vm_push( val );
treeDownref( prg, sp, o1 );
treeDownref( prg, sp, o2 );
+ break;
}
case IN_TST_GRTR_VAL: {
debug( prg, REALM_BYTECODE, "IN_TST_GRTR_VAL\n" );