unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* psyntax error reporting bug
@ 2009-10-18 20:58 Julian Graham
  2009-10-18 21:41 ` Ludovic Courtès
  0 siblings, 1 reply; 5+ messages in thread
From: Julian Graham @ 2009-10-18 20:58 UTC (permalink / raw)
  To: guile-devel

Hi Guilers,

I'm no psyntax expert, but it looks like there's a minor typo in our
psyntax implementation.  In psyntax.scm, at line 1325 (in
`chi-macro'), the expression:

(syntax-violation #f "encountered raw symbol in macro output"
(source-wrap e w s mod) x)

...should read:

(syntax-violation #f "encountered raw symbol in macro output"
(source-wrap e w (wrap-subst w) mod) x)

...since `s' is not actually in scope -- which, with the former code,
generates an error that obscures the actual syntax violation.  I can
prepare a patch if people want.


Regards,
Julian




^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-10-19 20:46 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-18 20:58 psyntax error reporting bug Julian Graham
2009-10-18 21:41 ` Ludovic Courtès
2009-10-18 22:05   ` Julian Graham
2009-10-19 19:25     ` Andy Wingo
2009-10-19 20:46     ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).