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:
1a4777c
)
Fix thinko in string reader: first octal digit is in range 0-3.
author
Chris Hanson
<org/chris-hanson/cph>
Wed, 10 Oct 2018 02:52:46 +0000
(19:52 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Wed, 10 Oct 2018 02:52:46 +0000
(19:52 -0700)
src/runtime/reader.scm
patch
|
blob
|
history
diff --git
a/src/runtime/reader.scm
b/src/runtime/reader.scm
index 2d814fc41753d54282be3056c61f1ba1aa1b87c8..84c051a5199fd0904e28e37faac5e005b2f8cad4 100644
(file)
--- a/
src/runtime/reader.scm
+++ b/
src/runtime/reader.scm
@@
-653,7
+653,7
@@
USA.
;; MIT/GNU extensions:
((char=? char #\f) (emit #\page))
((char=? char #\v) (emit #\vt))
- ((char->digit char
3
)
+ ((char->digit char
4
)
=> (lambda (d) (emit (read-octal-escape char d))))
(else (emit char)))))