aboutsummaryrefslogtreecommitdiffstats
path: root/clox/src/vm.h
diff options
context:
space:
mode:
Diffstat (limited to 'clox/src/vm.h')
-rw-r--r--clox/src/vm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clox/src/vm.h b/clox/src/vm.h
index 170166b..ce14d0c 100644
--- a/clox/src/vm.h
+++ b/clox/src/vm.h
@@ -10,7 +10,7 @@
#define STACK_MAX (FRAMES_MAX * UINT8_COUNT)
typedef struct {
- ObjFunction *function;
+ ObjClosure *closure;
uint8_t *ip;
Value *slots;
} CallFrame;