comparison src/print.c @ 104670:edac206a6fe7

(print_object): Set escapeflag to 1 when printing hashtable keys and values.
author Teodor Zlatanov <tzz@lifelogs.com>
date Fri, 28 Aug 2009 10:16:03 +0000
parents a443b35b34e0
children 2eb955b84b6b
comparison
equal deleted inserted replaced
104669:9a2d92bd2a3e 104670:edac206a6fe7
2098 PRINTCHAR ('('); 2098 PRINTCHAR ('(');
2099 for (i = 0; i < size; i++) 2099 for (i = 0; i < size; i++)
2100 if (!NILP (HASH_HASH (h, i))) 2100 if (!NILP (HASH_HASH (h, i)))
2101 { 2101 {
2102 if (i) PRINTCHAR (' '); 2102 if (i) PRINTCHAR (' ');
2103 print_object (HASH_KEY (h, i), printcharfun, 0); 2103 print_object (HASH_KEY (h, i), printcharfun, 1);
2104 PRINTCHAR (' '); 2104 PRINTCHAR (' ');
2105 print_object (HASH_VALUE (h, i), printcharfun, 0); 2105 print_object (HASH_VALUE (h, i), printcharfun, 1);
2106 } 2106 }
2107 2107
2108 if (size < real_size) 2108 if (size < real_size)
2109 strout (" ...", 4, 4, printcharfun, 0); 2109 strout (" ...", 4, 4, printcharfun, 0);
2110 2110