aboutsummaryrefslogtreecommitdiff
path: root/core/metaprogramming.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/metaprogramming.nom')
-rw-r--r--core/metaprogramming.nom3
1 files changed, 2 insertions, 1 deletions
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"