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:
18c09f0
)
read-syntax uses vector source representation
author
Andy Wingo
<wingo@pobox.com>
Thu, 25 Feb 2021 15:05:52 +0000
(16:05 +0100)
committer
Andy Wingo
<wingo@pobox.com>
Thu, 25 Feb 2021 20:26:17 +0000
(21:26 +0100)
* module/ice-9/read.scm (read-syntax): Switch to sourcev format.
module/ice-9/read.scm
patch
|
blob
|
history
diff --git
a/module/ice-9/read.scm
b/module/ice-9/read.scm
index 0724c6664aee23f1c535f905eb62c8773caba620..72811fdb885a59487a9ca5120413bdcb17b80f35 100644
(file)
--- a/
module/ice-9/read.scm
+++ b/
module/ice-9/read.scm
@@
-882,7
+882,5
@@
(define (annotate line column datum)
(datum->syntax #f ; No lexical context.
datum
- #:source `((filename . ,filename)
- (line . ,line)
- (column . ,(1- column)))))
+ #:source (vector filename line (1- column))))
(%read port annotate syntax->datum))