diff options
author | ubq323 <ubq323@ubq323.website> | 2024-06-24 19:30:09 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-06-24 19:30:09 +0100 |
commit | bc47478d855b08023409dbfc8550958991265c14 (patch) | |
tree | 804e45dd6b57917ccaf4d64832909061738b41e4 /com.h | |
parent | bea93dc98b602472bb36635dfdf425d14d826673 (diff) |
keep track of stack position while compiling
Diffstat (limited to 'com.h')
-rw-r--r-- | com.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -10,6 +10,7 @@ typedef struct _compiler Compiler; struct _compiler { State *S; Chunk *ch; + int stack_cur; }; Compiler compiler_new(Compiler *outer, Chunk *ch); |