Christoph Reck <[EMAIL PROTECTED]> writes:

> I detected some errors in the #parse code. The template name in 
> the errors are incorrect (also wrong line numbers).
> 
> Looking throug the code I saw that the parseDepth is incremented
> horizontally (that is every time a parse directive is encountered
> on the same page).
> 
> To fix this I propose to place the template stack beeing
> rendered into the InternalContextAdapter (which now contains
> the current template name). This can be easily used by the
> parser to check the depth. It will then also return the correct
> template name. 
> 
> The ParseDirectiveVisitor can be removed.
> 
> Please give me your votes if you want me to fix this.

+1 Christoph--just be careful.  :)
-- 

Daniel Rall <[EMAIL PROTECTED]>

Reply via email to