projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
735cedd
)
runtime/char.scm (unicode-char?): unreferenced bound variable: cp
author
Matt Birkholz
<matt@birchwood-abbey.net>
Thu, 16 Feb 2017 20:17:05 +0000
(13:17 -0700)
committer
Matt Birkholz
<matt@birchwood-abbey.net>
Thu, 16 Feb 2017 20:17:05 +0000
(13:17 -0700)
src/runtime/char.scm
patch
|
blob
|
history
diff --git
a/src/runtime/char.scm
b/src/runtime/char.scm
index d024178769a952bb47980a6aaedb41adee68b1c3..00438292420aa0e0ac62fc7a6c6e0af655e5d6a2 100644
(file)
--- a/
src/runtime/char.scm
+++ b/
src/runtime/char.scm
@@
-352,8
+352,8
@@
USA.
(define (unicode-char? object)
(and (char? object)
(let ((cp (char->integer object)))
- (and (fix:<
object
char-code-limit)
- (not (utf16-surrogate?
object
))))))
+ (and (fix:<
cp
char-code-limit)
+ (not (utf16-surrogate?
cp
))))))
(define (unicode-scalar-value? object)
(and (unicode-code-point? object)