diff --git a/src/math.rs b/src/math.rs index ca1af9f..c336ed7 100644 --- a/src/math.rs +++ b/src/math.rs @@ -12,7 +12,7 @@ macro_rules! define_binary_op { let $left = tree.pull_by_stack_code((stack_code & 0b100) >> 2); let $right = tree.pull_by_stack_code((stack_code & 0b010) >> 1); - let $right = if !use_literal { $left } else { literal }; + let $right = if !use_literal { $right } else { literal }; if is_signed { let $left = $left as i16;