diff options
Diffstat (limited to 'clox/src/chunk.h')
-rw-r--r-- | clox/src/chunk.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/clox/src/chunk.h b/clox/src/chunk.h index 185f13c..399a514 100644 --- a/clox/src/chunk.h +++ b/clox/src/chunk.h @@ -6,10 +6,17 @@ typedef enum { OP_CONSTANT, + OP_NIL, + OP_TRUE, + OP_FALSE, + OP_EQUAL, + OP_GREATER, + OP_LESS, OP_ADD, OP_SUBTRACT, OP_MULTIPLY, OP_DIVIDE, + OP_NOT, OP_NEGATE, OP_RETURN, } OpCode; |