From: Marc P. <ma...@an...> - 2003-04-21 16:09:58
|
On Mon, 21 Apr 2003 10:46:08 -0400, Eric B. Ridge <eb...@tc...> wrote: > On Friday, April 18, 2003, at 10:09 PM, Eric B. Ridge wrote: > >> On Friday, April 18, 2003, at 09:19 PM, Brian Goetz wrote: >> >>> Do the same with your macro. There must be some way #visitChildren can >>> expand to something that doesn't involve calling > #visitChildren.... >> >> Did I miss something obvious or wouldn't that case be when $n has no >> children? > > I did miss something "obvious" (even tho I knew it already), and it's > that #macro's are expanded into the template at build time, not run time. > > So... this makes me think that making a #call directive for Macro is NOT > a good idea because #call doesn't accurately represent how macros work > and would likely lead to lots and lots of confusion along the same lines > as this #visitChidren example. Definitely agreed. I missed the same thing too :) -- Marc Palmer (Wangjammer5) http://www.wangjammers.org Java Consultants |