summaryrefslogtreecommitdiffstats
path: root/parser.l
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2014-02-01 03:45:49 -0800
committerKaz Kylheku <kaz@kylheku.com>2014-02-01 03:45:49 -0800
commit9700430895a9b76d113b9b77ef226dfee711830c (patch)
treeeb9ae0a2f69cc00d2216f1d6933da48e34845874 /parser.l
parent6abf99b9ae4a8868e55215a74dd4c0e8a97ec99b (diff)
downloadtxr-9700430895a9b76d113b9b77ef226dfee711830c.tar.gz
txr-9700430895a9b76d113b9b77ef226dfee711830c.tar.bz2
txr-9700430895a9b76d113b9b77ef226dfee711830c.zip
* hash.c (hash_mark, hash_grow, make_similar_hash,
copy_hash, gethash_l, gethash, gethash_f, gethash_n, hash_count, hash_next, hash_eql, hash_equal): Use num_fast instead of num. (make_hash): An attempt to make a weak-keys hash that has equal-based keys is nonsensical; it is now diagnosed with an exception. Use num_fast instead of num. (hash_process_weak): Call breakpt whenever the weak object(s) due to which entries are being deleted match the value in break_obj. Use num_fast instead of num. * parser.l (parse_init): Bugfix: the forms_to_ln_hash was equal-based, which makes no sense.
Diffstat (limited to 'parser.l')
-rw-r--r--parser.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.l b/parser.l
index 39a825a3..429fb779 100644
--- a/parser.l
+++ b/parser.l
@@ -805,7 +805,7 @@ void parse_init(void)
protect(&yyin_stream, &prepared_error_message,
&form_to_ln_hash, (val *) 0);
- form_to_ln_hash = make_hash(t, nil, t);
+ form_to_ln_hash = make_hash(t, nil, nil);
}
void parse_reset(val spec_file)