Skip to content

Commit

Permalink
Reset hash-table count and fill-count in :clear
Browse files Browse the repository at this point in the history
  • Loading branch information
Affonso-Gui committed May 5, 2022
1 parent 29b12fa commit d689c00
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lisp/l/hashtab.l
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@
(dotimes (i size)
(setf (aref key i) empty
(aref value i) nil))
(setq count 0)
(setq fill-count 0)
self)
(:prin1 (&optional (strm t) &rest mesgs)
(send-super* :prin1 strm
Expand Down

0 comments on commit d689c00

Please sign in to comment.