[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch master updated: Fix length of \U hex escape in ne
From: |
Andy Wingo |
Subject: |
[Guile-commits] branch master updated: Fix length of \U hex escape in new reader |
Date: |
Wed, 03 Mar 2021 16:45:03 -0500 |
This is an automated email from the git hooks/post-receive script.
wingo pushed a commit to branch master
in repository guile.
The following commit(s) were added to refs/heads/master by this push:
new 9427941 Fix length of \U hex escape in new reader
9427941 is described below
commit 94279414a83ed682278ad71c5f3ef2cd4fabcc67
Author: Andy Wingo <wingo@pobox.com>
AuthorDate: Wed Mar 3 22:44:30 2021 +0100
Fix length of \U hex escape in new reader
* module/ice-9/read.scm (%read): \U escape is 6 digits long.
---
module/ice-9/read.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/ice-9/read.scm b/module/ice-9/read.scm
index 9e3346c..639b76a 100644
--- 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))))))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Guile-commits] branch master updated: Fix length of \U hex escape in new reader,
Andy Wingo <=