aboutsummaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/id.nom1
-rw-r--r--core/metaprogramming.nom3
2 files changed, 3 insertions, 1 deletions
diff --git a/core/id.nom b/core/id.nom
index 9656dd0..d3b2b71 100644
--- a/core/id.nom
+++ b/core/id.nom
@@ -3,6 +3,7 @@
A simple UUID function based on RFC 4122: http://www.ietf.org/rfc/rfc4122.txt
use "core/metaprogramming.nom"
+use "core/operators.nom"
use "core/math.nom"
use "core/collections.nom"
use "core/control_flow.nom"
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom
index 93d5486..5d31c2b 100644
--- a/core/metaprogramming.nom
+++ b/core/metaprogramming.nom
@@ -372,7 +372,8 @@ compile [command line args] to (Lua value "arg")
compile [with local compile actions %body] to (..)
Lua "\
..do
- local nomsu = table.fork(nomsu, {COMPILE_ACTIONS=table.fork(COMPILE_ACTIONS)})
+ local nomsu = nomsu:fork()
+ local COMPILE_ACTIONS = nomsu.environment.COMPILE_ACTIONS
\(%body as lua statements)
end"