summaryrefslogtreecommitdiff
path: root/parse/parse.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2019-03-03 22:32:07 -0800
committerOri Bernstein <ori@eigenstate.org>2019-03-03 22:32:07 -0800
commitd51d40bc1674f5845dab709096be84a4e5c51b2b (patch)
treea1d48da740c90a972506b46f1dfe459330ce29a8 /parse/parse.h
parenta68e92f1e80f262e04d6e6c1d27af80199afbdc0 (diff)
downloadmc-d51d40bc1674f5845dab709096be84a4e5c51b2b.tar.gz
Give traits the necessary env.
Diffstat (limited to 'parse/parse.h')
-rw-r--r--parse/parse.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse/parse.h b/parse/parse.h
index c58906b..79ab880 100644
--- a/parse/parse.h
+++ b/parse/parse.h
@@ -192,6 +192,7 @@ struct Trait {
size_t naux;
Node **proto; /* type must implement these prototypes */
size_t nproto;
+ Tyenv *env;
char isproto; /* is it a prototype (for exporting purposes) */
char ishidden; /* should user code be able to use this? */