[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Remove temporary hack for making gensym, add1
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Remove temporary hack for making gensym, add1 and sub1 globally available for macro expansion |
Date: |
Sat, 14 Oct 2017 12:03:23 +0200 |
User-agent: |
NeoMutt/20170113 (1.7.2) |
Hi all,
I just figured out why gensym, add1 and sub1 weren't available at macro
expansion time for some macros (the ffi ones): chicken-ffi-syntax.scm is
compiled with -explicit-use, and in batch-driver.scm we don't add the
default imports when -explicit-use is provided.
So the fix is simple: just add chicken.base to the imports list in
chicken-ffi-syntax.scm. One less hack!
Cheers,
Peter
0001-Kill-temp-hack-for-making-gensym-add1-and-sub1-globa.patch
Description: Text Data
signature.asc
Description: PGP signature
- [Chicken-hackers] [PATCH] Remove temporary hack for making gensym, add1 and sub1 globally available for macro expansion,
Peter Bex <=