summaryrefslogtreecommitdiffstats
path: root/hash.c
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2017-01-06 02:13:43 -0800
committerKaz Kylheku <kaz@kylheku.com>2017-01-06 02:13:43 -0800
commitad54f9d10165be47b34e6e09d009d115e3808f49 (patch)
tree392387bc6146d03bee05dfcfa33b5134dc37b0c3 /hash.c
parenteaebe42f734d31e1f1c44802ad315f004c126ddc (diff)
downloadtxr-ad54f9d10165be47b34e6e09d009d115e3808f49.tar.gz
txr-ad54f9d10165be47b34e6e09d009d115e3808f49.tar.bz2
txr-ad54f9d10165be47b34e6e09d009d115e3808f49.zip
Missing space in hash printed rep.
* hash.c (hash_print_op): For hash tables that have both weak keys and weak values, print a space between the keywords.
Diffstat (limited to 'hash.c')
-rw-r--r--hash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hash.c b/hash.c
index a786a9c6..44848830 100644
--- a/hash.c
+++ b/hash.c
@@ -388,6 +388,7 @@ static void hash_print_op(val hash, val out, val pretty, struct strm_ctx *ctx)
switch (h->flags) {
case hash_weak_both:
obj_print_impl(weak_keys_k, out, pretty, ctx);
+ put_char(chr(' '), out);
/* fallthrough */
case hash_weak_vals:
obj_print_impl(weak_vals_k, out, pretty, ctx);