diff options
Diffstat (limited to 'src/bytecode/bytecode.h')
-rw-r--r-- | src/bytecode/bytecode.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bytecode/bytecode.h b/src/bytecode/bytecode.h index 7c21d50..e845170 100644 --- a/src/bytecode/bytecode.h +++ b/src/bytecode/bytecode.h @@ -35,12 +35,13 @@ enum flag { }; enum calc_opcodes { - CALC_PUSH_VALUE = 'V', - CALC_ADD = '+', - CALC_SUBTRACT = '-', - CALC_MULTIPLY = '*', - CALC_DIVIDE = '/', - CALC_FINISH = '=', + CALC_PUSH_NUMBER = 'N', + CALC_PUSH_VALUE = 'V', + CALC_ADD = '+', + CALC_SUBTRACT = '-', + CALC_MULTIPLY = '*', + CALC_DIVIDE = '/', + CALC_FINISH = '=', }; typedef enum unit { |