[ https://issues.apache.org/jira/browse/VELOCITY-631?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Bubna updated VELOCITY-631: ---------------------------------- Attachment: Velocity631TestCase.java Here's a test case with an even simpler template to demonstrate the problem. $a#set($b = 1) is all it takes. > VTL Creates parse error, but shouldn't > -------------------------------------- > > Key: VELOCITY-631 > URL: https://issues.apache.org/jira/browse/VELOCITY-631 > Project: Velocity > Issue Type: Bug > Components: Engine > Affects Versions: 1.6-beta1 > Reporter: Byron Foster > Attachments: Velocity631TestCase.java > > > The following creates a parse exception, but should not: > #macro(test $x)$x#set($i=1)#end > Exception: > Threw: org.apache.velocity.exception.ParseErrorException > msg: Encountered "=" at /foo.vm[line 2, column 25] > Was expecting one of: > <RPAREN> ... > <WHITESPACE> ... > <WHITESPACE> ... -- 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]