diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2017-12-28 17:41:28 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2017-12-28 17:41:28 -0800 |
commit | 079cf1d067ec21e590f0ec025cbc282f8290e2fa (patch) | |
tree | 9cc6bd45acdbe94fc4e9532c0813c9c78d00f39e /unwind.c | |
parent | 239dac3bdcc993690227839899bde3d861d756ed (diff) | |
download | txr-079cf1d067ec21e590f0ec025cbc282f8290e2fa.tar.gz txr-079cf1d067ec21e590f0ec025cbc282f8290e2fa.tar.bz2 txr-079cf1d067ec21e590f0ec025cbc282f8290e2fa.zip |
hash: read/print consistency regression.
TXR 188 makes a slight mess of the #H notation. An :eql-based
hash table prints as #H(() ...), but when that notation is
read, it produces an :equal-based hash table. No aspect of
this situation was intended; the intent was that the notation
stays the same as before, and just the hash function changes
to make :equal-based the default. Let's just go with this
and have #H(() ...) denote :equal-based tables.
* hash.c (hash_print_op): Print an :eql-based for eql-based
hash tables, and nothing for equal-based ones. In
compatibility mode with 188 and older, reproduce the old
behavior, rendering equal-based tables with :equal-based and
the absence of a symbol for eql-based.
* txr.1: Updated places that touch on :equal-based and
added compatibility notes.
* tests/009/json.expected: updated, since equal-based hash
tables now print without :equal-based keyword.
Diffstat (limited to 'unwind.c')
0 files changed, 0 insertions, 0 deletions