aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/chunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/chunk.h')
-rw-r--r--clox/src/chunk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clox/src/chunk.h b/clox/src/chunk.h
index dcab3df..185f13c 100644
--- a/clox/src/chunk.h
+++ b/clox/src/chunk.h
@@ -6,6 +6,10 @@
typedef enum {
OP_CONSTANT,
+ OP_ADD,
+ OP_SUBTRACT,
+ OP_MULTIPLY,
+ OP_DIVIDE,
OP_NEGATE,
OP_RETURN,
} OpCode;