Make dump's output prettier 1503/head
authorShadowNinja <shadowninja@minetest.net>
Sun, 20 Jul 2014 03:39:23 +0000 (23:39 -0400)
committerShadowNinja <shadowninja@minetest.net>
Sun, 21 Sep 2014 19:24:00 +0000 (15:24 -0400)
commit3e7e65885a51a7846f4b81b276e28181623428de
tree4c5a8509dbe5370ceaa13b7e84c8fc973fabbeea
parentfb35cfb2dceeb338801cdd08bbbbd2bdc9f36f41
Make dump's output prettier

Changes:
  * Indentation with tabs by default.
  * Array keys dumped without "[i] = " prefix.
  * String keys that are valid identifiers aren't enclosed in '[""]'.
  * Basic support for multiple references (as specified in the comment).
builtin/common/misc_helpers.lua