aboutsummaryrefslogtreecommitdiff
path: root/nomsu_tree.moon
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2018-04-18 15:28:46 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2018-04-18 15:28:59 -0700
commit16f3a189fd9b32f599d1271c772e6d4287f95d20 (patch)
treed40c600e0ea0c1de66a170057027b37219d0219c /nomsu_tree.moon
parentb589c23741c3111c151c0fecc7e299fd321c13a1 (diff)
More working, shifting towards having Lua and Nomsu objects instead of
just strings.
Diffstat (limited to 'nomsu_tree.moon')
-rw-r--r--nomsu_tree.moon2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu_tree.moon b/nomsu_tree.moon
index 9b00d85..d327e2e 100644
--- a/nomsu_tree.moon
+++ b/nomsu_tree.moon
@@ -50,7 +50,7 @@ Tree "File",
Tree "Nomsu",
as_lua: (nomsu)=>
- Lua.Value(@source, "nomsu:parse(",repr(@source\get_text!),", ",repr(@source.filename),")")
+ Lua.Value(@source, "nomsu:parse(Nomsu(",repr(@source),", ",repr(@source\get_text!),"))")
Tree "Block",
as_lua: (nomsu)=>