mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-20 11:40:18 +02:00
Fix syntax-violation, which was passing vectors instead of alists
* module/ice-9/psyntax.scm (syntax-violation): Pass source as an alist. A sourcev would be better but it's incompatible. * module/ice-9/psyntax-pp.scm: Regenerate.
This commit is contained in:
parent
c72a0237e3
commit
ee7d18ec41
2 changed files with 5 additions and 3 deletions
|
@ -2530,7 +2530,8 @@
|
|||
(throw 'syntax-error
|
||||
who
|
||||
message
|
||||
(or (source-annotation subform) (source-annotation form))
|
||||
(sourcev->alist
|
||||
(or (source-annotation subform) (source-annotation form)))
|
||||
(strip form)
|
||||
(strip subform))))
|
||||
(letrec*
|
||||
|
|
|
@ -2792,8 +2792,9 @@
|
|||
who 'syntax-violation)
|
||||
(arg-check string? message 'syntax-violation)
|
||||
(throw 'syntax-error who message
|
||||
(or (source-annotation subform)
|
||||
(source-annotation form))
|
||||
(sourcev->alist
|
||||
(or (source-annotation subform)
|
||||
(source-annotation form)))
|
||||
(strip form)
|
||||
(strip subform))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue