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


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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to