diff options
author | Eduardo Julian | 2017-10-26 21:41:41 -0400 |
---|---|---|
committer | Eduardo Julian | 2017-10-26 21:41:41 -0400 |
commit | 3439602c2b356eaef3359b6496a0237f1af55e33 (patch) | |
tree | 90c3c1d0f97fc30b1a991de50977d8a075564724 /new-luxc/source/luxc/module.lux | |
parent | e2621632653ad1252744eecff6da143faaf90787 (diff) |
- Added a new piece of compiler state, just for storing the current-module.
Diffstat (limited to 'new-luxc/source/luxc/module.lux')
-rw-r--r-- | new-luxc/source/luxc/module.lux | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/new-luxc/source/luxc/module.lux b/new-luxc/source/luxc/module.lux index 39d3679e6..2bb7eedcd 100644 --- a/new-luxc/source/luxc/module.lux +++ b/new-luxc/source/luxc/module.lux @@ -56,7 +56,8 @@ (All [a] (-> Nat Text (Meta a) (Meta [Module a]))) (do Monad<Meta> [_ (create hash name) - output (&scope;with-scope name action) + output (&;with-current-module name + (&scope;with-scope name action)) module (meta;find-module name)] (wrap [module output]))) |