aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/compiler.h
diff options
context:
space:
mode:
authorGravatar Tom Willemse2022-01-22 22:01:54 -0800
committerGravatar Tom Willemse2022-01-22 22:01:54 -0800
commita52c55eb9af3e29a912d41a48071e830b0971fd5 (patch)
tree579f8d8e934f63c67aef9a8da60d60fe136bd928 /clox/src/compiler.h
parent9025da8168e505e2b0e32b89a0d94db935dace93 (diff)
downloadcrafting-interpreters-a52c55eb9af3e29a912d41a48071e830b0971fd5.tar.gz
crafting-interpreters-a52c55eb9af3e29a912d41a48071e830b0971fd5.zip
Chapter 24.2 (Does Not Compile)
Diffstat (limited to 'clox/src/compiler.h')
-rw-r--r--clox/src/compiler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clox/src/compiler.h b/clox/src/compiler.h
index e7023a9..7de1c20 100644
--- a/clox/src/compiler.h
+++ b/clox/src/compiler.h
@@ -4,6 +4,6 @@
#include "object.h"
#include "vm.h"
-bool compile(const char *source, Chunk *chunk);
+ObjFunction *compile(const char *source);
#endif