aboutsummaryrefslogtreecommitdiff
path: root/core/metaprogramming.nom
diff options
context:
space:
mode:
Diffstat (limited to 'core/metaprogramming.nom')
-rw-r--r--core/metaprogramming.nom6
1 files changed, 1 insertions, 5 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom
index 9d6e1e6..6c5221c 100644
--- a/core/metaprogramming.nom
+++ b/core/metaprogramming.nom
@@ -101,11 +101,7 @@ immediately
return t.type.."("..make_tree(t.value)..")"
end
end
- lua:append([[)
- local tree = ]], make_tree(\%longhand), [[
-
- return nomsu:tree_to_lua(tree)
- end);]])
+ lua:append(")\n local tree = ", make_tree(\%longhand), "\n return nomsu:tree_to_lua(tree)\nend);")
return lua
action [remove action %stub]