1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +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))))
((lexical-call)
(chi-application
(build-lexical-reference 'fun (source-annotation (car e))
(car e) value)
(let ((id (car e)))
(build-lexical-reference 'fun (source-annotation id)
(if (syntax-object? id)
(syntax->datum id)
id)
value))
e r w s mod))
((global-call)
(chi-application