aboutsummaryrefslogtreecommitdiff
path: root/nomic.lua
diff options
context:
space:
mode:
authorBruce Hill <bitbucket@bruce-hill.com>2017-09-12 21:53:45 -0700
committerBruce Hill <bitbucket@bruce-hill.com>2017-09-12 21:53:45 -0700
commit395e6c8e5ba5d8f19f7c8abd81b22cb34629f13d (patch)
tree49a9db117b0432c00ae4bcad79500fb9f937611a /nomic.lua
parentdf552640f39affe5f5f596a002f37a3d61581b91 (diff)
Cleaned out some dead code.
Diffstat (limited to 'nomic.lua')
-rw-r--r--nomic.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/nomic.lua b/nomic.lua
index a2cd6c3..f111fc7 100644
--- a/nomic.lua
+++ b/nomic.lua
@@ -238,14 +238,6 @@ do
if self.debug then
print("\nGENERATED LUA CODE:\n" .. tostring(code))
end
- local _ = [==[ lua_thunk, err = loadstring(code)
- if not lua_thunk
- error("Failed to compile generated code:\n#{code}\n\n#{err}")
- action = lua_thunk!
- if @debug
- print("Running...")
- return action(self, {})
- ]==]
return code
end,
parse = function(self, str)