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
parenscript-devel@common-lisp.net