From 0b89bd5de09c6a93d25768b54efb426732c8797d Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 16 Aug 2021 22:17:40 -0700 Subject: Chapter 17.1 - 17.4 --- clox/src/compiler.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'clox/src/compiler.h') 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 -- cgit v1.2.3-54-g00ecf