This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
There's a bug in the 1.7 handling of macros like this one:
(define-syntax one (syntax-rules () ((one var) (begin (define extra 1) (define var extra)))))
(one x) should bind x to 1, but instead it gets an error complaining of invalid define syntax. This is due to the (define extra 1) part, as the following macro works:
I checked in a fix for this, as well as your testcase. Thanks. -- --Per Bothner per@bothner.com http://per.bothner.com/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |