unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Adam Nelson <adam@nels.onl>
To: 40252@debbugs.gnu.org
Subject: bug#40252: [PATCH] [R7RS] cond-expand in define-library forms
Date: Thu, 7 May 2020 13:26:25 -0400	[thread overview]
Message-ID: <3d50de38-20ab-00d4-9d54-4a742a7bc57e@nels.onl> (raw)
In-Reply-To: <CAEYrNrS3GYnN+UPGe5X1ksy2o6Q_M6=2obrrsSU+43-fP5smkA@mail.gmail.com>

It looks like this bug was caused by a missing dot in a list in the 
cond-expand macro. This small patch fixes it:

diff --git a/module/ice-9/r7rs-libraries.scm 
b/module/ice-9/r7rs-libraries.scm
index 6db9de873..221806ad1 100644
--- a/module/ice-9/r7rs-libraries.scm
+++ b/module/ice-9/r7rs-libraries.scm
@@ -88,11 +88,11 @@
          (((include-library-declarations filename ...) . decls)
           (syntax-case (handle-includes #'(filename ...)) ()
             ((decl ...)
-            (partition-decls #'(decl ... decls) exports imports code))))
+            (partition-decls #'(decl ... . decls) exports imports code))))
          (((cond-expand clause ...) . decls)
           (syntax-case (handle-cond-expand #'(clause ...)) ()
             ((decl ...)
-            (partition-decls #'(decl ... decls) exports imports code))))))
+            (partition-decls #'(decl ... . decls) exports imports 
code))))))

      (syntax-case stx ()
        ((_ name decl ...)






  reply	other threads:[~2020-05-07 17:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-27 14:17 bug#40252: [R7RS] cond-expand in define-library forms Marc Nieper-Wißkirchen
2020-05-07 17:26 ` Adam Nelson [this message]
2020-08-03 20:23 ` Marc Nieper-Wißkirchen
2021-05-01 20:25 ` bug#40252: Applied Andy Wingo

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=3d50de38-20ab-00d4-9d54-4a742a7bc57e@nels.onl \
    --to=adam@nels.onl \
    --cc=40252@debbugs.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).