summaryrefslogtreecommitdiffhomepage
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-12-29 12:43:48 -0500
committermidipix <writeonce@midipix.org>2016-01-01 22:50:24 -0500
commit43c8c9ee36f661fa9e4895350f80f43be3814b74 (patch)
tree85ce4a5f5194bee047b76e21977a552a29808dc4 /src/internal
parent389acb44d79857eb39b2afaeb8e410f6da93dcfc (diff)
downloadapimagic-43c8c9ee36f661fa9e4895350f80f43be3814b74.tar.bz2
apimagic-43c8c9ee36f661fa9e4895350f80f43be3814b74.tar.xz
driver: generate ast for each unit upon unit context creation.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/apimagic_driver_impl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/internal/apimagic_driver_impl.h b/src/internal/apimagic_driver_impl.h
index 9054708..ff33a4e 100644
--- a/src/internal/apimagic_driver_impl.h
+++ b/src/internal/apimagic_driver_impl.h
@@ -15,6 +15,7 @@ enum app_tags {
struct amgc_driver_ctx_impl {
struct amgc_common_ctx cctx;
struct amgc_driver_ctx ctx;
+ struct compilation_env_t ccenv;
int fdtmpin;
};
@@ -23,6 +24,7 @@ struct amgc_unit_ctx_impl {
struct amgc_input map;
struct amgc_common_ctx cctx;
struct amgc_unit_ctx uctx;
+ struct compilation_unit_t ccunit;
};
#endif