From d65318dd916a3529f009e8c431b8da2df6446c0e Mon Sep 17 00:00:00 2001 From: Rose Hogenson Date: Thu, 13 Jan 2022 15:47:30 -0800 Subject: Generalize the hash map. Before we were assuming keys could be compared with eqv?. But it seems like that assumption isn't true when we want to hold identifiers in the hash map. --- csc/linker.csc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'csc/linker.csc') diff --git a/csc/linker.csc b/csc/linker.csc index 852ee13..b3f2a5d 100644 --- a/csc/linker.csc +++ b/csc/linker.csc @@ -41,8 +41,15 @@ (hash-bytevector (string->utf8 s))) + (define (cmp-strings s1 s2) + (cond + ((string