diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2019-10-11 23:17:53 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2019-10-11 23:17:53 -0700 |
commit | e3ef5c56c8445b409ccb342c78aa79e7c2616582 (patch) | |
tree | cf5b612da130d303b1118f2d5fa78243cd882ee6 | |
parent | aed772ac4e9c8d6ff641013c05645c3d3614d997 (diff) | |
download | txr-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.l | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |