aboutsummaryrefslogtreecommitdiff
path: root/src/compiler/check.zc
diff options
context:
space:
mode:
authorGravatar zinc <zinc@downsta.ir> 2026-10-14 10:47:30 +0000
committerGravatar zinc <zinc@downsta.ir> 2026-10-14 10:47:30 +0000
commit4a22cf28742bf33577678de494aa09ab60a3c820 (patch)
treed9133c7ab431fd3f41ef7713a869d23be4539244 /src/compiler/check.zc
parentMerge four small fixes: std hovers, capture terminator, bare static calls, vo... (diff)
parentzc: add the defer statement (diff)
Merge the defer statement; todo: tick it, add its follow-ups
Diffstat (limited to 'src/compiler/check.zc')
-rw-r--r--src/compiler/check.zc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/check.zc b/src/compiler/check.zc
index a22bcdd..f3374b1 100644
--- a/src/compiler/check.zc
+++ b/src/compiler/check.zc
@@ -29,6 +29,7 @@ int chk_reset() {
tline = 1;
toff = 0 - 1; toklen = 0; tpend = 0 - 1; tpline = 1;
infn = 0;
+ defer_drop(0); dfr_base = 0; dfr_on = 0;
fdepth = 0;
fslots = 0;
fchk = 0;