[Prev][Next][Index][Thread]
Re: Complicated macro expansion question
"Keith Playford" <keith.playford@pobox.com> wrote in message news:<000d01c174f4$7e27bbe0$ed8b403e@baloo>...
> There is a small defect in the code as written:
>
> Serious warning at play:6:
>
> This main rule pattern of the macro constraints-symbol-helper starts with constraints-helper, which does not match the macro name.
>
> play:5: ------------------
> play:6: { constraints-helper(?parent:name, ?subclasses:*) } =>
> play:7: ------------------
>
> says FunDev. If you fix this, though, it seems to work fine. Certainly
> there's no example of a non top-level definition in the generated code,
> so I think there must be a bug in d2c (even if it's just that d2c
> doesn't catch the above defect and a misleading error message is the
> result downstream).
Dear Keith,
Thank you. I fixed the macro. It works fine on Fun-Dev, but d2c
continues to issue errors ... I'll post to the Gwydion Dylan maillist
with this issue from here.
Thanks again.
Sincerely,
Doug Auclair
References: