[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-users] bug(?) in macroexpansion
From: |
Panagiotis Vossos |
Subject: |
[Chicken-users] bug(?) in macroexpansion |
Date: |
07 May 2003 09:41:29 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 |
I am using chicken 1.0 and I think there is a bug in the way macros
are expanded when hygenic macros are in use. I don't have chicken
running on this machine right now, but I remember that if you define a
macro like:
(define-syntax foo
(syntax-rules ()
((_ x) (+ "baz" x))))
, then (foo 10) gets expanded as:
(+ '"baz" '10)
when it should be:
(+ "baz" 10).
I came across this when trying to compile library.scm with -hygienic
and it complained about incorrect use of inline_allocate or something.
Am I missing something or is it indeed a bug?
cheers,
panagiotis.
- [Chicken-users] bug(?) in macroexpansion,
Panagiotis Vossos <=