summaryrefslogtreecommitdiff
path: root/src/bytecode/bytecode.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bytecode/bytecode.h')
-rw-r--r--src/bytecode/bytecode.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/bytecode/bytecode.h b/src/bytecode/bytecode.h
index be163b1..70c8b01 100644
--- a/src/bytecode/bytecode.h
+++ b/src/bytecode/bytecode.h
@@ -24,12 +24,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 {