[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] [PATCH] Fix #816 by always adding core macros to compi
From: |
Peter Bex |
Subject: |
[Chicken-hackers] [PATCH] Fix #816 by always adding core macros to compiler syntax |
Date: |
Sat, 21 Apr 2012 20:44:42 +0200 |
User-agent: |
Mutt/1.4.2.3i |
Hi,
Attached is a simple, hopefully not too invasive, patch for #816.
This implicitly adds the default macro env to the syntax env for all
the internal compiler syntax transformers. Without this, they expand
to macro calls for macros that are possibly not imported using the
bare names of those macros and hence fail (or worse, they can be
shadowed by the user)
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth
0001-Always-add-default-core-macros-to-syntax-env-in-inte.patch
Description: Text document
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Chicken-hackers] [PATCH] Fix #816 by always adding core macros to compiler syntax,
Peter Bex <=