aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-06 16:11:26 +0200
committerlemon <lsof@mailbox.org>2022-08-06 16:11:26 +0200
commit0c6330ce7ee50c1fa241793588fa83a3c00bc3c1 (patch)
tree3c8c42804a8056a61b267d690a13688d6580630a /bootstrap/all.h
parentc53e17496d97a2fb638544cee414de97d81770fc (diff)
inferred length array init
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h3
1 files changed, 2 insertions, 1 deletions
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;