This is the mail archive of the kawa@sourceware.org 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] |
In a macro expanding to a define-simple-class, if a field init: form references a macro argument, then that field's allocation: expression will result in an error like the one in the subject line. ... If that "init: docstr" is changed [to a literal], then the error goes away:
I'm not really sure why that makes a difference, but the attached patch fixes it:
I think the patch is good. However, I think we might as well use the Translator#stripSyntax method, as attached. -- --Per Bothner per@bothner.com http://per.bothner.com/
Attachment:
obj.patch
Description: Text document
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |