[ 
https://issues.apache.org/jira/browse/VELOCITY-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Henning Schmiedehausen closed VELOCITY-35.
------------------------------------------


> error in parsing white space between #elseif and condition
> ----------------------------------------------------------
>
>                 Key: VELOCITY-35
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-35
>             Project: Velocity
>          Issue Type: Bug
>          Components: Testing
>    Affects Versions: 1.2
>         Environment: Operating System: All
> Platform: PC
>            Reporter: proetel
>         Assigned To: Velocity-Dev List
>
> the following statement produces an error:
> #if(!$class.primitive)item#elseif
>    ($class.name == "char")new Character(item)#end
> #end
> [Generator.main]org.apache.velocity.exception.ParseErrorException: Encountered
> "\r\n" at line 3, column 34.
> Was expecting one of:
>     "(" ...
>     <WHITESPACE> ...
>     
> org.apache.velocity.exception.ParseErrorException: Encountered "\r\n" at line 
> 3,
> column 34.
> Was expecting one of:
>     "(" ...
>     <WHITESPACE> ...
> I would assume "\r\n" is 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]

Reply via email to