diff options
author | Adrian Thurston <thurston@complang.org> | 2015-02-26 21:49:30 -0500 |
---|---|---|
committer | Adrian Thurston <thurston@complang.org> | 2015-02-26 21:49:30 -0500 |
commit | d0c0906259471083909927ea7713fa94b9284997 (patch) | |
tree | 238c322e5ec9a223b9844ba215e7452d6732f1b4 | |
parent | edc094c87f02ad4fb190fdef1a63ae4561d6e303 (diff) | |
download | colm-d0c0906259471083909927ea7713fa94b9284997.tar.gz |
fixed a couple opcodes with missing breaks
-rw-r--r-- | src/bytecode.c | 2 |
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" ); |