From b0d95956fcade40a2d608ccea79e2e989f97b72f Mon Sep 17 00:00:00 2001 From: lemon Date: Fri, 5 Aug 2022 04:27:38 +0200 Subject: more struct --- bootstrap/all.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'bootstrap/all.h') diff --git a/bootstrap/all.h b/bootstrap/all.h index bbe23b3..c2a8843 100644 --- a/bootstrap/all.h +++ b/bootstrap/all.h @@ -123,7 +123,7 @@ struct parser { } *curexpan; // macro expansions int expanno; const struct type *targty; - bool used_targetty; + bool used_targty; }; enum typetype { @@ -258,6 +258,7 @@ enum exprtype { Eenumval, Ezeroini, Eini, + Eget, }; struct blockstmt { @@ -307,6 +308,10 @@ struct expr { struct { slice_t(struct iniarg) args; } ini; + struct { + struct expr *lhs; + const char *fld; + } get; }; }; -- cgit v1.2.3