aboutsummaryrefslogtreecommitdiff
path: root/syntax_tree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'syntax_tree.lua')
-rw-r--r--syntax_tree.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/syntax_tree.lua b/syntax_tree.lua
index 38e71ef..72b510e 100644
--- a/syntax_tree.lua
+++ b/syntax_tree.lua
@@ -42,10 +42,10 @@ for _index_0 = 1, #types do
return getmetatable(x) == self
end
cls.__tostring = function(self)
- return tostring(self.type) .. tostring(repr(self))
+ return tostring(self.type) .. tostring(repr(self, (function() end)))
end
cls.__repr = function(self)
- return tostring(self.type) .. tostring(repr(self))
+ return tostring(self.type) .. tostring(repr(self, (function() end)))
end
cls.source_code_for_tree = setmetatable({ }, {
__index = function(self, t)