Verified Commit bc31c36b authored by Camil Staps's avatar Camil Staps 🙂

evaluate_children should create restore points; otherwise exceptions are not caught

parent efdae0b6
......@@ -1021,7 +1021,7 @@ static int evaluate_all_children(struct interpretation_environment *ie) {
BC_WORD *node=(BC_WORD*)ie->asp[0];
if (!(node[0] & 2)) {
if (interpret_ie(ie, (BC_WORD*)node[0], 0) != 0) {
if (interpret_ie (ie,(BC_WORD*)node[0],1) != 0){
ie->asp=start_a_stack;
EPRINTF("Failed to interpret\n");
return -1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment