aboutsummaryrefslogtreecommitdiff
path: root/core/metaprogramming.nom
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:23 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-05-24 16:13:46 -0700
commit446892d11ee712839084e4599a07d8decf6b3b54 (patch)
tree7cf53ca93b179614ed8d1f390125e7ef50eb0716 /core/metaprogramming.nom
parent0c07968e0716745f7b510a76e94ccf0910e4c4e7 (diff)
Consolidating code obj code and expunging all [[..]]-style lua strings.
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]