diff options
author | Hans Hagen <pragma@wxs.nl> | 2013-01-27 21:24:00 +0100 |
---|---|---|
committer | Hans Hagen <pragma@wxs.nl> | 2013-01-27 21:24:00 +0100 |
commit | fa502d65e5e502ef6a26eeb246267ced520ed139 (patch) | |
tree | 01a1ec7a640311bf0af1ae1996675cae04000810 /tex/context/base/l-table.lua | |
parent | 33fc570519a96f61b586ade8e4833326caaeaf7a (diff) | |
download | context-fa502d65e5e502ef6a26eeb246267ced520ed139.tar.gz |
beta 2013.01.27 21:24
Diffstat (limited to 'tex/context/base/l-table.lua')
-rw-r--r-- | tex/context/base/l-table.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/l-table.lua b/tex/context/base/l-table.lua index 8a2a9cad5..8b09518cb 100644 --- a/tex/context/base/l-table.lua +++ b/tex/context/base/l-table.lua @@ -967,10 +967,12 @@ function table.print(t,...) if type(t) ~= "table" then print(tostring(t)) else - table.tohandle(print,t,...) + serialize(print,t,...) end end +setinspector(function(v) if type(v) == "table" then serialize(print,v,"table") return true end end) + -- -- -- obsolete but we keep them for a while and might comment them later -- -- -- -- roughly: copy-loop : unpack : sub == 0.9 : 0.4 : 0.45 (so in critical apps, use unpack) |