diff options
| author | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-12 20:39:17 -0700 |
|---|---|---|
| committer | Bruce Hill <bitbucket@bruce-hill.com> | 2018-04-12 20:39:22 -0700 |
| commit | b05a46c78ca40e6838ee49121fdc5d02823ed44b (patch) | |
| tree | d5aa898612ad090d545d517cb856391c5ba21deb /core | |
| parent | 1de29826a82cc858cf6d9df9ead86655304251a4 (diff) | |
Incremental progress.
Diffstat (limited to 'core')
| -rw-r--r-- | core/metaprogramming.nom | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/metaprogramming.nom b/core/metaprogramming.nom index 24201b0..d7409d2 100644 --- a/core/metaprogramming.nom +++ b/core/metaprogramming.nom @@ -49,9 +49,9 @@ immediately: lua:append(arg); if i < #args then lua:append(", ") end end - local body_lua = nomsu:tree_to_lua(\%lua):as_statements(); + local body_lua = nomsu:tree_to_lua(\%body):as_statements(); body_lua:declare_locals(args); - lua:append("\\n ", body_lua, "\\nend);") + lua:append(")\\n ", body_lua, "\\nend);") return lua; # Macro to make nomsu macros: |
