aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
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;
};
};