Skip to content

Commit

Permalink
Make CHAR-ACCUM-PUSH unknown object proof.
Browse files Browse the repository at this point in the history
  • Loading branch information
Volkan YAZICI committed Jul 14, 2007
1 parent 1a70524 commit fdd2d82
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion meta-sexp.lisp
Expand Up @@ -129,7 +129,8 @@
(make-array size :element-type 'character :adjustable t :fill-pointer 0))

(defun char-accum-push (char accum)
(vector-push-extend char accum))
(if (typep char 'character)
(vector-push-extend char accum)))

(defun reset-char-accum (accum)
(setf (fill-pointer accum) 0))
Expand Down

0 comments on commit fdd2d82

Please sign in to comment.