[parenscript-devel] Bug: inconsistent expansion of local macro
Vladimir Sedach
vsedach at gmail.com
Thu Sep 20 23:50:43 UTC 2007
A fix is now in the darcs repository.
Happy hacking,
Vladimir
On 9/12/07, Daniel Gackle <danielgackle at gmail.com> wrote:
> When a macro like this:
>
> (defpsmacro blah (x) 'xyz)
>
> ... is shadowed by a local macro like this:
>
> (ps (defun test1 ()
> (macrolet ((blah (x) `(aref data ,x)))
> (when (blah x)
> (setf (blah x) 123)))))
>
> ... it's possible to get an inconsistent macroexpansion:
>
> =>
>
> "function test1() {
> if (data[x]) {
> xyz = 123;
> };
> };
>
> Daniel
>
> _______________________________________________
> parenscript-devel mailing list
> parenscript-devel at common-lisp.net
> http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
>
>
More information about the parenscript-devel
mailing list