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
commite3ef5c56c8445b409ccb342c78aa79e7c2616582 (patch)
treecf5b612da130d303b1118f2d5fa78243cd882ee6
parentaed772ac4e9c8d6ff641013c05645c3d3614d997 (diff)
downloadtxr-e3ef5c56c8445b409ccb342c78aa79e7c2616582.tar.gz
txr-e3ef5c56c8445b409ccb342c78aa79e7c2616582.tar.bz2
txr-e3ef5c56c8445b409ccb342c78aa79e7c2616582.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);
}