aboutsummaryrefslogtreecommitdiff
path: root/chunk.d
diff options
context:
space:
mode:
Diffstat (limited to 'chunk.d')
-rw-r--r--chunk.d2
1 files changed, 2 insertions, 0 deletions
diff --git a/chunk.d b/chunk.d
index 56b960d..f6dce01 100644
--- a/chunk.d
+++ b/chunk.d
@@ -33,10 +33,12 @@ class Function : Obj {
enum OpCode {
OP_ADD,
+ OP_LESS,
OP_NEGATE,
OP_RETURN,
OP_CONSTANT,
OP_POP,
+ OP_SUBTRACT,
OP_NIL,
}