From 0c6330ce7ee50c1fa241793588fa83a3c00bc3c1 Mon Sep 17 00:00:00 2001 From: lemon Date: Sat, 6 Aug 2022 16:11:26 +0200 Subject: inferred length array init --- bootstrap/all.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bootstrap/all.h') diff --git a/bootstrap/all.h b/bootstrap/all.h index 3410d1f..8b57d94 100644 --- a/bootstrap/all.h +++ b/bootstrap/all.h @@ -313,6 +313,7 @@ struct expr { } enu; struct { slice_t(struct iniarg) args; + i64 maxn; } ini; struct { struct expr *lhs; @@ -327,7 +328,7 @@ struct expr { struct iniarg { union { - size_t idx; + i64 idx; const char *fld; }; struct expr ex; -- cgit v1.2.3