You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by "Nathan Bubna (JIRA)" <de...@velocity.apache.org> on 2010/11/15 18:36:18 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 ]
Nathan Bubna updated VELOCITY-678:
----------------------------------
Fix Version/s: (was: 1.7)
2.0
> 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: 2.0
>
>
> 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