projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1feb609
)
!parse-integer: fix junk processing
author
Alfredo Beaumont
<alfredo.beaumont@gmail.com>
Tue, 23 Apr 2013 14:16:48 +0000
(16:16 +0200)
committer
Alfredo Beaumont
<alfredo.beaumont@gmail.com>
Wed, 24 Apr 2013 14:41:45 +0000
(16:41 +0200)
ecmalisp.lisp
patch
|
blob
|
history
diff --git
a/ecmalisp.lisp
b/ecmalisp.lisp
index
21ef044
..
f177605
100644
(file)
--- a/
ecmalisp.lisp
+++ b/
ecmalisp.lisp
@@
-1154,7
+1154,9
@@
(incf index)))
(if (or junk-allow
(= index size)
- (char= (char string index) #\space))
+ (do ((i index (1+ i)))
+ ((or (>= i size) (not (whitespacep (char string i))))
+ (>= i size))))
(values (* sign value) index)
(values nil index)))))