summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2022-03-07 10:29:27 +0100
committerLudovic Courtès <ludo@gnu.org>2022-03-07 10:52:16 +0100
commit347321ece9fc85ddf74af3c798230b7b187fbce9 (patch)
treeec71cb2d4f077d4268ee95d7469c0f02a4b9f5df /configure.ac
parentc572b11f3d1e5c663ce28bfd1410df53b5019ff3 (diff)
downloadguile-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 'configure.ac')
0 files changed, 0 insertions, 0 deletions