diff options
Diffstat (limited to 'clox/src/compiler.h')
-rw-r--r-- | clox/src/compiler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clox/src/compiler.h b/clox/src/compiler.h index 49a45b0..c4376a5 100644 --- a/clox/src/compiler.h +++ b/clox/src/compiler.h @@ -1,6 +1,8 @@ #ifndef COMPILER_H #define COMPILER_H -void compile(const char *source); +#include "vm.h" + +bool compile(const char *source, Chunk *chunk); #endif |