1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 19:50:24 +02:00

fix lexical call naming bug

* module/ice-9/psyntax.scm: Fix bug in which the whole syntax object was
  being recorded as the name of the operator in a lexical call, instead
  of just the symbolic name.
* module/ice-9/psyntax-pp.scm: Regenerated.
This commit is contained in:
Andy Wingo 2010-06-11 16:28:55 +02:00
parent 2bcf97a643
commit d71cc612c3
2 changed files with 4148 additions and 4141 deletions

File diff suppressed because it is too large Load diff

View file

@ -1241,8 +1241,12 @@
(chi e r w mod)))) (chi e r w mod))))
((lexical-call) ((lexical-call)
(chi-application (chi-application
(build-lexical-reference 'fun (source-annotation (car e)) (let ((id (car e)))
(car e) value) (build-lexical-reference 'fun (source-annotation id)
(if (syntax-object? id)
(syntax->datum id)
id)
value))
e r w s mod)) e r w s mod))
((global-call) ((global-call)
(chi-application (chi-application