Fix debug.dump

dump_return is no longer local, so debug prefix must be provided

Signed-off-by: Alexander Yakushev <yakushev.alex@gmail.com>
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Alexander Yakushev 2012-08-31 14:07:04 +03:00 committed by Julien Danjou
parent 175c3b1313
commit ec66ac876b
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ end
-- @param data Table to print. -- @param data Table to print.
-- @param tag The name of the table. -- @param tag The name of the table.
function debug.dump(data, tag) function debug.dump(data, tag)
print(dump_return(data, tag)) print(debug.dump_return(data, tag))
end end
return debug return debug