aboutsummaryrefslogtreecommitdiff
path: root/core/metaprogramming.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-19 19:43:23 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-19 19:43:32 -0700
commit931ae40f408c789eca3a2bf36e886f174f4f8038 (patch)
treeba5d874bc00d844c0b34815b32ea31a0e3bdcdd2 /core/metaprogramming.nom
parent928e78f252cbc34b4d9e7c8eb791c6defd29ce79 (diff)
Fixed compiling to .lua files
Diffstat (limited to 'core/metaprogramming.nom')
-rw-r--r--core/metaprogramming.nom2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom
index a446f42..8622b07 100644
--- a/core/metaprogramming.nom
+++ b/core/metaprogramming.nom
@@ -162,7 +162,7 @@ action [help %action]:
# Compiler tools
immediately:
compile [run %code] to:
- Lua value "nomsu:run(\(%code as lua expr), \(=lua "tree.source"))"
+ Lua value "nomsu:run(Nomsu(\(=lua "tree.source"), \(%code as lua expr)))"
parse [enable debugging] as: lua> "nomsu.debug = true;"
parse [disable debugging] as: lua> "nomsu.debug = false;"