Fix dump of pointer constants.

This commit is contained in:
Mike Pall 2010-12-20 17:12:49 +01:00
parent c9a0b9ea9e
commit 1eb6e23730

View File

@ -280,7 +280,7 @@ local function formatk(tr, idx)
elseif tn == "table" then
s = format("{%p}", k)
elseif tn == "userdata" then
if t == 11 then
if t == 12 then
s = format("userdata:%p", k)
else
s = format("[%p]", k)