projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc0c7df
)
Fix typo
author
David Vázquez
<davazp@gmail.com>
Fri, 24 May 2013 01:03:17 +0000
(
02:03
+0100)
committer
David Vázquez
<davazp@gmail.com>
Fri, 24 May 2013 01:03:17 +0000
(
02:03
+0100)
src/array.lisp
patch
|
blob
|
history
diff --git
a/src/array.lisp
b/src/array.lisp
index
5f6d50e
..
4f4b690
100644
(file)
--- a/
src/array.lisp
+++ b/
src/array.lisp
@@
-78,8
+78,8
@@
;;; FIXME: should take optional min-extension.
;;; FIXME: should use fill-pointer instead of the absolute end of array
(defun vector-push-extend (new vector)
- (unless (vectorp array)
- (error "~S is not a vector." array))
+ (unless (vectorp vector)
+ (error "~S is not a vector." vector))
(let ((size (storage-vector-size vector)))
(resize-storage-vector vector (1+ size))
(aset vector size new)