velocity-dev@jakarta.apache.org
[Top] [All Lists]

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

Subject: [jira] Updated: (VELOCITY-678) Bad parsing of macro
From: "Will Glass-Husain (JIRA)"
Date: Sun, 18 Oct 2009 10:50:31 -0700 PDT
     [ 
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@xxxxxxxxxxxxxxxxxxx
For additional commands, e-mail: dev-help@xxxxxxxxxxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>
  • [jira] Updated: (VELOCITY-678) Bad parsing of macro, Will Glass-Husain (JIRA) <=