aboutsummaryrefslogtreecommitdiff
path: root/bootstrap/all.h
diff options
context:
space:
mode:
author lemon<lsof@mailbox.org>2022-08-11 06:25:30 +0200
committer lemon<lsof@mailbox.org>2022-08-11 06:25:30 +0200
commit99cb50d4f13d587e3a0e0f2a44485f301409afb4 (patch)
treec285338782ae3cd760252337a488f10fe940e45b /bootstrap/all.h
parent8d3c3d919183a4a6ba7ad8010587dee6f5f96baa (diff)
fixs
Diffstat (limited to 'bootstrap/all.h')
-rw-r--r--bootstrap/all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bootstrap/all.h b/bootstrap/all.h
index 2996f62..d1d58d9 100644
--- a/bootstrap/all.h
+++ b/bootstrap/all.h
@@ -141,6 +141,7 @@ struct parser {
int envage;
int varid;
int loopid, curloop;
+ const struct type *container;
};
enum typetype {
@@ -261,6 +262,7 @@ struct decl {
char **_cname;
bool externp;
struct span span;
+ const struct type *container;
union {
const struct type *ty;
struct fn fn;