projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fce50c8
)
Fix typo if/when
author
David Vázquez
<davazp@gmail.com>
Wed, 1 May 2013 18:48:52 +0000
(19:48 +0100)
committer
David Vázquez
<davazp@gmail.com>
Wed, 1 May 2013 18:48:52 +0000
(19:48 +0100)
Closes #37
src/read.lisp
patch
|
blob
|
history
diff --git
a/src/read.lisp
b/src/read.lisp
index
ad25704
..
19ec812
100644
(file)
--- a/
src/read.lisp
+++ b/
src/read.lisp
@@
-291,9
+291,9
@@
(defun parse-integer (string &key junk-allowed)
(multiple-value-bind (num index)
(!parse-integer string junk-allowed)
- (when num
- (values num index)
- (error "junk detected."))))
+ (if num
+ (values num index)
+ (error "junk detected."))))
(defvar *eof* (gensym))
(defun ls-read-1 (stream)