You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Will Glass-Husain (JIRA)" <de...@velocity.apache.org> on 2009/10/18 19:50:31 UTC

[jira] Updated: (VELOCITY-678) Bad parsing of macro

     [ https://issues.apache.org/jira/browse/VELOCITY-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Will Glass-Husain updated VELOCITY-678:
---------------------------------------

    Fix Version/s: 1.7

> Bad parsing of macro
> --------------------
>
>                 Key: VELOCITY-678
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-678
>             Project: Velocity
>          Issue Type: Bug
>          Components: Engine
>    Affects Versions: 1.6.1, 1.7
>            Reporter: Byron Foster
>            Priority: Minor
>             Fix For: 1.7
>
>
> The following:
> #macro(foo)bar#end
> $#foo()
> results in:
> $#foo()
> but should be: 
> $bar
> The problem is that the macro name is getting hosed.. strict mode reveals the following error:
> Macro '##foo' is not defined at /foo.vm[line 9, column 1]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org