[ https://issues.apache.org/jira/browse/VELOCITY-678?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claude Brisson resolved VELOCITY-678. ------------------------------------- Resolution: Fixed Assignee: Claude Brisson Fixed by commit 1759426. > 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 > Assignee: Claude Brisson > Priority: Minor > Fix For: 2.x > > > 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 was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@velocity.apache.org For additional commands, e-mail: dev-h...@velocity.apache.org