diff options
author | 2021-09-06 02:03:31 -0700 | |
---|---|---|
committer | 2021-09-06 02:03:31 -0700 | |
commit | c10cbcdf99824bf81fb0874deb258d5c8c7cb22d (patch) | |
tree | 2872be7d0038f7b0f5a88a2e34875fd856e0101a /clox/src/chunk.h | |
parent | 6508cfd8fe55e03a587b2f72d3ffc901d7ada049 (diff) | |
download | crafting-interpreters-c10cbcdf99824bf81fb0874deb258d5c8c7cb22d.tar.gz crafting-interpreters-c10cbcdf99824bf81fb0874deb258d5c8c7cb22d.zip |
Chapter 18
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; |