From 8c3037662ba572a6935170dbd4cb8cc8a3636417 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Sat, 22 Jun 2024 18:22:24 +0100 Subject: compilation of functions, and some parts of interpreting them --- val.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'val.c') diff --git a/val.c b/val.c index 621b073..930ebd8 100644 --- a/val.c +++ b/val.c @@ -49,7 +49,7 @@ static ObjString *objstring_create(State *S, char *src, size_t len, uint32_t has ObjFunc *objfunc_new(State *S) { ObjFunc *o = NEW_OBJ(S, ObjFunc, OTY_FUNC); - o->chunk = chunk_new(S); + o->ch = chunk_new(S); return o; } -- cgit v1.2.3