diff options
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -82,6 +82,8 @@ static long ll_hash(obj_t *obj) return NUM_MAX; switch (type(obj)) { + case LIT: + return hash_c_str(litptr(obj)); case CONS: return (ll_hash(obj->c.car) + ll_hash(obj->c.cdr)) & NUM_MAX; case STR: |