diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-10-21 05:47:35 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-10-21 05:47:35 -0700 |
commit | e933786bcdc0be5b01a64a70b3997013220443c0 (patch) | |
tree | c7eac4ab82e07fa973cab3f85447b2d90816833d /checkman.txr | |
parent | 6d8df2a98bae323078951e4d4268a30b4743e31e (diff) | |
download | txr-e933786bcdc0be5b01a64a70b3997013220443c0.tar.gz txr-e933786bcdc0be5b01a64a70b3997013220443c0.tar.bz2 txr-e933786bcdc0be5b01a64a70b3997013220443c0.zip |
Fix circular printing across print methods.
* lib.c (obj_print): When invoked recursively in
circular printing mode, collect the nodes of the
new object into a separate hash table. Then
merge these entries into to the previous hash
table. If the newly visited object visits objects
we have already seen, suppress those entries.
Diffstat (limited to 'checkman.txr')
0 files changed, 0 insertions, 0 deletions