aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2022-08-05 04:27:38 +0200
committerlemon <lsof@mailbox.org>2022-08-05 04:27:38 +0200
commitb0d95956fcade40a2d608ccea79e2e989f97b72f (patch)
treec14f21aba1acc52d0f2fd1320b48fac42de634bc /bootstrap/all.h
parent0fec7de747d93586eda66ce190f5f3d6715421a4 (diff)
more struct
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h7
1 files changed, 6 insertions, 1 deletions
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;
};
};