summaryrefslogtreecommitdiff
path: root/chunk.h
diff options
context:
space:
mode:
Diffstat (limited to 'chunk.h')
-rw-r--r--chunk.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chunk.h b/chunk.h
index 36452fb..ba01614 100644
--- a/chunk.h
+++ b/chunk.h
@@ -20,6 +20,6 @@ struct _chunk {
};
Chunk chunk_new(State *S);
size_t compile_opcode(Compiler *C, uint8_t byte);
-size_t chunk_wconst(Compiler *C, Val v);
+size_t compile_constant(Compiler *C, Val v);
#endif