diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-31 21:38:18 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-31 21:38:18 -0700 |
commit | 5d9e217bb248015823c948010c1f0b47efe2cdb4 (patch) | |
tree | 5b6d1df7e8cbb8c15dd55688a41f95182f1a342c /Makefile | |
parent | 4b4ef6dfcf12e1db846b26a3b812aa010360d62f (diff) | |
download | txr-5d9e217bb248015823c948010c1f0b47efe2cdb4.tar.gz txr-5d9e217bb248015823c948010c1f0b47efe2cdb4.tar.bz2 txr-5d9e217bb248015823c948010c1f0b47efe2cdb4.zip |
Use obj_print_impl for printing hash contents.
* hash.c (print_key_val): Static function removed.
(hash_print_op): Don't use maphash over print_key_val
to print hash tables. Use open-coded iteration and
printing with calls to obj_print_impl. This was
occassioned by a bug in circle printing. The use of
obj_print by hash_print_op resembles the actions of
a custom print method on a structure. A bug showed
up which is masked by refactoring to more direct
recursion via obj_print_impl. (The bug still has to be
fixed, though).
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions