aboutsummaryrefslogtreecommitdiff
path: root/nomsu.lua
diff options
context:
space:
mode:
Diffstat (limited to 'nomsu.lua')
-rw-r--r--nomsu.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/nomsu.lua b/nomsu.lua
index 6a4793d..3267fc9 100644
--- a/nomsu.lua
+++ b/nomsu.lua
@@ -576,7 +576,7 @@ do
elseif "Var" == _exp_0 then
add("vars[" .. tostring(utils.repr(tree.value, true)) .. "]")
else
- error("Unknown/unimplemented thingy: " .. tostring(tree.type))
+ self:error("Unknown/unimplemented thingy: " .. tostring(tree.type))
end
buffer = table.concat(buffer, "\n")
return buffer, return_value