From e74cbddb0463e93f5d9742accc20bbed027d0b9b Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 31 May 2022 23:02:18 -0700 Subject: Chapter 25.2 --- clox/src/object.h | 1 + 1 file changed, 1 insertion(+) (limited to 'clox/src/object.h') diff --git a/clox/src/object.h b/clox/src/object.h index 54faf5b..f650b30 100644 --- a/clox/src/object.h +++ b/clox/src/object.h @@ -33,6 +33,7 @@ struct Obj { typedef struct { Obj obj; int arity; + int upvalueCount; Chunk chunk; ObjString *name; } ObjFunction; -- cgit v1.2.3-54-g00ecf