diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -5114,6 +5114,12 @@ sxhash_list (list, depth) | |||
| 5114 | hash = SXHASH_COMBINE (hash, hash2); | 5114 | hash = SXHASH_COMBINE (hash, hash2); |
| 5115 | } | 5115 | } |
| 5116 | 5116 | ||
| 5117 | if (!NILP (list)) | ||
| 5118 | { | ||
| 5119 | unsigned hash2 = sxhash (list, depth + 1); | ||
| 5120 | hash = SXHASH_COMBINE (hash, hash2); | ||
| 5121 | } | ||
| 5122 | |||
| 5117 | return hash; | 5123 | return hash; |
| 5118 | } | 5124 | } |
| 5119 | 5125 | ||