[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in
Re: [Chicken-hackers] [PATCH] Don't evaluate import forms for syntax in import libraries when there is no syntax exported (mostly fixes #1457)
Wed, 23 May 2018 20:03:48 +0200
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.
Description: Text Data
Description: PGP signature