diff options
author | Philipp Gesang <phg42.2a@gmail.com> | 2014-02-02 10:08:08 +0100 |
---|---|---|
committer | Philipp Gesang <phg42.2a@gmail.com> | 2014-02-02 10:08:08 +0100 |
commit | 43ffeea64e686e25807959575d07162bc8bb02b6 (patch) | |
tree | 85352d4c1c48f6df474ff9f330cf7207f726d1a5 /lualibs-table.lua | |
parent | 7b5039cbb0bd520d89a22b61e42ec94d05a32c2e (diff) | |
download | lualibs-43ffeea64e686e25807959575d07162bc8bb02b6.tar.gz |
sync with Context as of 2014-02-02
Diffstat (limited to 'lualibs-table.lua')
-rw-r--r-- | lualibs-table.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lualibs-table.lua b/lualibs-table.lua index f361f3d..c318c57 100644 --- a/lualibs-table.lua +++ b/lualibs-table.lua @@ -1006,7 +1006,9 @@ function table.print(t,...) end end -setinspector(function(v) if type(v) == "table" then serialize(print,v,"table") return true end end) +if setinspector then + setinspector(function(v) if type(v) == "table" then serialize(print,v,"table") return true end end) +end -- -- -- obsolete but we keep them for a while and might comment them later -- -- -- |