This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Issue with brl in macro in progfun.scm.
- From: "Dan Stanger" <DStanger at EatonVance dot Com>
- To: <kawa at sources dot redhat dot com>
- Date: Thu, 14 May 2009 16:56:28 -0400
- Subject: Issue with brl in macro in progfun.scm.
- References: <4995B1AFF8CBC64B8FD474D4A718D5BF1A2E3B9A@BOS-300-00.eatonvance.com>
Uncommenting any one of following forms from 53 to 65 in progfun.scm cause the macro to behave incorrectly.
;?????????? ????? ((brl-out (define-cgi form ...)) (define-cgi form ...))
;?????????? ????? ((brl-out (define-cookie form ...)) (define-cookie form ...))
??????????? ????? ((brl-out (define form ...)) (define form ...))
??????????? ????? ((brl-out (define-syntax form ...))
??????????? ?????? (define-syntax form ...))
;?????????? ????? ((brl-out (define-input form ...))
;?????????? ?????? (define-input form ...))
;?????????? ????? ((brl-out (inputs form ...))
;?????????? ?????? (inputs form ...))
;?????????? ????? ((brl-out (define-path form ...))
;?????????? ?????? (define-path form ...))
;?????????? ????? ((brl-out (define-session form ...))
;?????????? ?????? (define-session form ...))
In 1.8.91 with any of the lines uncommented
(brl-result (brl-make-nal '((symbol->string (quote b)))) '())
translates incorrectly.
With them commented,
(brl-result (brl-make-nal '((symbol->string (quote b)))) '()) translates to:
(#<syntax display in #375> (symbol->string (quote b))
?? . #<syntax ((brl-context-outport brl-context)) in #375>)
The behavior is similar in 1.9.1. These lines are ones which refer to definitions later in the macro. This macro is commented out in the kawa sources, but it's the same as the one I am working with. Can anyone suggest where the error is?
Dan Stanger
Eaton Vance Management
Two International Place
Boston, MA 02110
Mobile: 617 646 9682
Office: 617 672 8261