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:
697f2b3
)
Fix Scheme read without source positions
author
Andy Wingo
<wingo@pobox.com>
Sun, 28 Feb 2021 19:54:40 +0000
(20:54 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Sun, 28 Feb 2021 19:54:40 +0000
(20:54 +0100)
* module/ice-9/read.scm (read): Fix annotate when positions are
disabled.
module/ice-9/read.scm
patch
|
blob
|
history
diff --git
a/module/ice-9/read.scm
b/module/ice-9/read.scm
index 72811fdb885a59487a9ca5120413bdcb17b80f35..74f567dd5dbad018df4ed83f1e2627773f4451e9 100644
(file)
--- a/
module/ice-9/read.scm
+++ b/
module/ice-9/read.scm
@@
-874,7
+874,8
@@
(line . ,line)
(column . ,(1- column)))))
datum)
- identity))
+ (lambda (line column datum)
+ datum)))
(%read port annotate identity))
(define* (read-syntax #:optional (port (current-input-port)))