From: Julian Graham <joolean@gmail.com>
To: guile-devel <guile-devel@gnu.org>
Subject: psyntax error reporting bug
Date: Sun, 18 Oct 2009 16:58:47 -0400 [thread overview]
Message-ID: <2bc5f8210910181358s79754b98uad8268fc9d267d8c@mail.gmail.com> (raw)
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
next reply other threads:[~2009-10-18 20:58 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-18 20:58 Julian Graham [this message]
2009-10-18 21:41 ` psyntax error reporting bug 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2bc5f8210910181358s79754b98uad8268fc9d267d8c@mail.gmail.com \
--to=joolean@gmail.com \
--cc=guile-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).