diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-16 16:57:14 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-09-16 16:57:24 -0700 |
| commit | 96e5e567cb208194793a56462b90fb02c9cfe927 (patch) | |
| tree | 2e4be316de4988929788420fbfc15b16b60ba743 /core/metaprogramming.nom | |
| parent | 2282085e13f11581d2d5c0ac1491d54da4a3e19d (diff) | |
Working module system.
Diffstat (limited to 'core/metaprogramming.nom')
| -rw-r--r-- | core/metaprogramming.nom | 3 |
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" |
