You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by ro...@verizon.com on 2002/11/15 18:07:40 UTC

Parser problem

I tried to put an #if statement on two lines as such:
#if ($params != "paramList" && $params != "req" && $params != "res" &&
      $params != "c")

and got the following error:

SEVERE: parse error for template
org.apache.velocity.exception.ParseErrorException: Encountered "\n" at line
82, column 76.
Was expecting one of:
    "[" ...
    "(" ...
    <STRING_LITERAL> ...
    "true" ...
    "false" ...
    <NUMBER_LITERAL> ...
    <IDENTIFIER> ...
    "{" ...
    "!" ...

Is this a bug or a feature?

Rob McLain



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>