aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-05 17:36:51 +0200
committerlemon <lsof@mailbox.org>2022-08-05 17:36:51 +0200
commitc2a13e05596c724fbdbc3e8ff1266c099b675e56 (patch)
tree3be2194055a624d718c94c528651d487b2571273 /bootstrap/all.h
parentd95555f87eced5fcb3458d76c765afe2de89bdcb (diff)
modify let and static decls to allow multiple vars
this involved transforming statement and declaration parsing code to use a CPS-like style to yield many decls within one lexical decl
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 3048d99..33ac7e7 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -355,7 +355,7 @@ struct stmt {
struct stmt *f;
} ifelse;
struct {
- struct stmt *ini;
+ slice_t(struct stmt) ini;
struct expr test;
struct expr *next;
struct blockstmt body;