Skip to content

Commit

Permalink
Merge pull request #6 from unitpoint/master
Browse files Browse the repository at this point in the history
fix inc/dec operators empty result
  • Loading branch information
hoopoepg committed Feb 17, 2014
2 parents 570f2f0 + 5279d91 commit 8103961
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/objectscript.cpp
Expand Up @@ -6307,7 +6307,7 @@ OS::Core::Compiler::Expression * OS::Core::Compiler::postCompileNewVM(Scope * sc
// allocator->deleteObj(exp);
return exp;
}
scope->function->stack_cur_size = stack_pos+1;
scope->function->stack_cur_size = stack_pos + exp->ret_values;

exp->slots.b = 0;
exp->type = EXP_TYPE_CODE_LIST;
Expand Down

0 comments on commit 8103961

Please sign in to comment.