summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2019-10-11 23:17:53 -0700
committerKaz Kylheku <kaz@kylheku.com>2019-10-11 23:17:53 -0700
commit36a4980ee384acf3f590b028a7e417300ece6b5b (patch)
treecf5b612da130d303b1118f2d5fa78243cd882ee6
parent0464a2e48a9b21ff907c8ef3e56d578aa1614662 (diff)
downloadtxr-36a4980ee384acf3f590b028a7e417300ece6b5b.tar.gz
txr-36a4980ee384acf3f590b028a7e417300ece6b5b.tar.bz2
txr-36a4980ee384acf3f590b028a7e417300ece6b5b.zip
parser: use eq-based hash for source location info.
* parser.l (parser_l_init): Assign an eq-based hash to form_to_ln_hash.
-rw-r--r--parser.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.l b/parser.l
index 0e75182e..bebe64f5 100644
--- a/parser.l
+++ b/parser.l
@@ -1257,5 +1257,5 @@ void scrub_scanner(scanner_t *yyg, int yy_char, wchar_t *lexeme)
void parser_l_init(void)
{
prot1(&form_to_ln_hash);
- form_to_ln_hash = make_hash(t, nil, nil);
+ form_to_ln_hash = make_eq_hash(t, nil);
}