This is the mail archive of the
kawa@sources.redhat.com
mailing list for the Kawa project.
literals in syntax-rules
- From: Bruce Lewis <brlewis at ALUM dot MIT dot EDU>
- To: Per Bothner <per at bothner dot com>
- Cc: kawa at sources dot redhat dot com
- Date: 22 May 2003 12:32:33 -0400
- Subject: literals in syntax-rules
- References: <3EC81857.4030609@bothner.com>
In versions of Kawa prior to 1.7, the following macro would always
return "worked" when given one argument:
(define-syntax t1
(syntax-rules (literal)
((t1 literal)
"worked")
((t1 a)
(t1 literal))))
Now there's a stack overflow. I think the prior behavior was correct.
--
<brlewis@[(if (brl-related? message) ; Bruce R. Lewis
"users.sourceforge.net" ; http://brl.codesimply.net/
"alum.mit.edu")]>