Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
dfranx committed Jan 30, 2020
1 parent abf61dc commit 3ad690f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions inc/BlueVM.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@
#include <BlueVM/bv_function_stepper.h>
#include <BlueVM/bv_object.h>
#include <BlueVM/bv_object_info.h>
#include <BlueVM/bv_array.h>

#endif
4 changes: 2 additions & 2 deletions src/bv_execute.c
Original file line number Diff line number Diff line change
Expand Up @@ -969,8 +969,8 @@ void bv_execute_assign(bv_scope* scope)

bv_state* state = bv_scope_get_state(scope);

bv_variable var = bv_stack_penultimate(&scope->stack);
bv_variable val = bv_stack_top(&scope->stack);
bv_variable var = bv_stack_top(&scope->stack);
bv_variable val = bv_stack_penultimate(&scope->stack);

bv_variable_op_assign(state->prog, &var, val);

Expand Down

0 comments on commit 3ad690f

Please sign in to comment.