projects
/
platform
/
upstream
/
guile.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a574fdf
)
Fix length of \U hex escape in new reader
author
Andy Wingo
<wingo@pobox.com>
Wed, 3 Mar 2021 21:44:30 +0000
(22:44 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Wed, 3 Mar 2021 21:44:30 +0000
(22:44 +0100)
* module/ice-9/read.scm (%read): \U escape is 6 digits long.
module/ice-9/read.scm
patch
|
blob
|
history
diff --git
a/module/ice-9/read.scm
b/module/ice-9/read.scm
index 9e3346c5a1b7bbcb2619dc1ae7b2e14558de0792..639b76af6724a1af8cf2382d11e1244a5d180049 100644
(file)
--- a/
module/ice-9/read.scm
+++ b/
module/ice-9/read.scm
@@
-314,7
+314,7
@@
((#\u)
(read-fixed-hex-escape 4))
((#\U)
- (read-fixed-hex-escape
8
))
+ (read-fixed-hex-escape
6
))
(else
(error "invalid character in escape sequence: ~S" ch)))
out))))))