diff options
author | Tom Willemse | 2021-09-18 11:10:11 -0700 |
---|---|---|
committer | Tom Willemse | 2021-09-18 11:10:11 -0700 |
commit | aa41f26a26fcff212ecc55750a4806d83a6cf5dc (patch) | |
tree | 77238d0c1e8dfb90a04c2528b20484ddfab8e29c /clox/src/vm.h | |
parent | 8ec913756107cc8e6aee965d0dc080039d4995ad (diff) | |
download | crafting-interpreters-aa41f26a26fcff212ecc55750a4806d83a6cf5dc.tar.gz crafting-interpreters-aa41f26a26fcff212ecc55750a4806d83a6cf5dc.zip |
Chapter 19.4 - 19.5
Diffstat (limited to 'clox/src/vm.h')
-rw-r--r-- | clox/src/vm.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clox/src/vm.h b/clox/src/vm.h index 6c6ada8..f11c1dd 100644 --- a/clox/src/vm.h +++ b/clox/src/vm.h @@ -2,6 +2,7 @@ #define clox_vm_h #include "chunk.h" +#include "table.h" #include "value.h" #define STACK_MAX 256 @@ -11,6 +12,7 @@ typedef struct { uint8_t *ip; Value stack[STACK_MAX]; Value *stackTop; + Table strings; Obj *objects; } VM; |