[parenscript-devel] Bug: inconsistent expansion of local macro
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
A fix is now in the darcs repository. Happy hacking, Vladimir On 9/12/07, Daniel Gackle <danielgackle@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@common-lisp.net http://common-lisp.net/cgi-bin/mailman/listinfo/parenscript-devel
participants (2)
-
Daniel Gackle
-
Vladimir Sedach