remove unnecessary args

This commit is contained in:
leaf corcoran
2013-10-25 09:13:47 -07:00
parent eeca625118
commit 49547ccfe1
2 changed files with 2 additions and 2 deletions

View File

@@ -163,7 +163,7 @@ do
if not (success) then
return nil, err
end
return self:load(self:chunks_to_lua(), "elua", str)
return self:load(self:chunks_to_lua())
end,
parse = function(self, str)
self.str = str

View File

@@ -130,7 +130,7 @@ class Parser
compile: (str) =>
success, err = @parse str
return nil, err unless success
@load @chunks_to_lua!, "elua", str
@load @chunks_to_lua!
parse: (@str) =>
assert type(@str) == "string", "expecting string for parse"