[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in

From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in import libraries when there is no syntax exported (mostly fixes #1457)
Date: Wed, 23 May 2018 20:03:48 +0200
User-agent: NeoMutt/20170113 (1.7.2)

On Sun, May 20, 2018 at 08:55:19PM +0200, Peter Bex wrote:
> All of this is completely unnecessary if the module exports no macro
> at all!  The attached patch simply emits the import forms only if there
> actually is syntax exported from the module for which we're generating
> the import library.

Attached is a fixed version which passes the tests.  The original patch
would not emit the functor registration in the import lib if there were
no syntax exports.

So now we also emit module-meta-expressions in the import lib if the
module is a functor, not just if there are syntax exports.


Attachment: 0001-Do-not-emit-import-syntax-forms-when-no-syntax-forms.patch
Description: Text Data

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]