diff options
Diffstat (limited to 'syntax_tree.lua')
| -rw-r--r-- | syntax_tree.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/syntax_tree.lua b/syntax_tree.lua index fe4f6dc..6615f9b 100644 --- a/syntax_tree.lua +++ b/syntax_tree.lua @@ -22,6 +22,9 @@ as_lua = function(self) end end end + if self.as_lua then + return self:as_lua() + end return error("Not supported: " .. tostring(self)) end local SyntaxTree |
