[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-kawa] [bug #17229] Hygienic macros permit capture of top-level bind
From: |
Per Bothner |
Subject: |
[Bug-kawa] [bug #17229] Hygienic macros permit capture of top-level bindings |
Date: |
Sun, 30 Jul 2006 15:34:28 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.4) Gecko/20060615 Fedora/1.5.0.4-3 Firefox/1.5.0.4 pango-text |
Follow-up Comment #1, bug #17229 (project kawa):
"since *the-cache* and *the-cache-has-been-set?* are free identifiers in the
scope of the define-syntax form (i.e., the module that the file defines does
not bind them anywhere), then they should be each be rewritten as some unique
symbol at expansion-time."
It's more complicated than that. If these were just references, without the
define forms, wouldn't you expect *the-cache* to resolve to the *same*
variable in the dynamic scope? (Of course you'd also get a warning if using
--warn-undefined-variable.)
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=17229>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/