diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-03-07 10:29:27 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-03-07 10:52:16 +0100 |
commit | 347321ece9fc85ddf74af3c798230b7b187fbce9 (patch) | |
tree | ec71cb2d4f077d4268ee95d7469c0f02a4b9f5df /NEWS | |
parent | c572b11f3d1e5c663ce28bfd1410df53b5019ff3 (diff) | |
download | guile-347321ece9fc85ddf74af3c798230b7b187fbce9.tar.gz |
psyntax: Honor source properties for things other than syntax objects.
Commit 54bbe0b2846c5b1aa366c91d679ba724869c8cda inadvertently led
psyntax to dismiss source location info for data returned by read hash
extensions, because read hash extensions return plain data with
associated source properties, even when called from 'read-syntax'.
This change reverts part of this commit to restore that behavior.
Fixes <https://issues.guix.gnu.org/54003>.
* module/ice-9/psyntax.scm (datum-sourcev): New procedure.
(source-annotation): Fall back to 'datum-sourcev'.
* module/ice-9/psyntax-pp.scm: Regenerate.
* test-suite/tests/compiler.test ("psyntax")["syntax-source with
read-hash-extend"]: New test.
Diffstat (limited to 'NEWS')
-rw-r--r-- | NEWS | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ Changes in 3.0.9 (since 3.0.8) ** Type sizes are correctly determined when cross-compiling (https://bugs.gnu.org/54198) +** psyntax honors source properties coming from read hash extensions + (https://bugs.gnu.org/54003) Changes in 3.0.8 (since 3.0.7) |