From c2a13e05596c724fbdbc3e8ff1266c099b675e56 Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 5 Aug 2022 17:36:51 +0200 Subject: 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 --- bootstrap/all.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bootstrap/all.h') 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; -- cgit v1.2.3