projects
/
jscl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c4527d7
)
read-float: use strings instead of characters for exponent-marker parsing
author
Alfredo Beaumont
<alfredo.beaumont@gmail.com>
Thu, 25 Apr 2013 15:33:30 +0000
(17:33 +0200)
committer
Alfredo Beaumont
<alfredo.beaumont@gmail.com>
Thu, 25 Apr 2013 15:52:30 +0000
(17:52 +0200)
since char-upcase is not yet supported.
src/read.lisp
patch
|
blob
|
history
diff --git
a/src/read.lisp
b/src/read.lisp
index
587fc38
..
d642be0
100644
(file)
--- a/
src/read.lisp
+++ b/
src/read.lisp
@@
-211,8
+211,8
@@
;; Optional exponent part
(when (< index size)
;; Exponent-marker
- (unless (member (char-upcase (char string index))
- '(#\E #\S #\F #\D \#L))
+ (unless (member (string-upcase (string (char string index)))
+ '("E" "S" "F" "D" "L"))
(return))
(incf index)
(unless (< index size) (return))