You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by Jon Scott Stevens <jo...@latchkey.com> on 2002/03/28 02:04:05 UTC

Bug with macros

Here is another bug...an empty macro...

#macro (numericSelect $name $first $last $selected $size)
#end

produces:

2002-03-27 16:58:34,992 - Parser Exception: macros/GlobalMacros.vm :
org.apache.
velocity.runtime.parser.ParseException: Encountered "#end\n" at line 167,
column
 1.
Was expecting one of:
    "(" ...
    <RPAREN> ...
    <ESCAPE_DIRECTIVE> ...
    <SET_DIRECTIVE> ...
    "\\\\" ...
    "\\" ...
    <TEXT> ...
    <SINGLE_LINE_COMMENT> ...
    "*#" ...
    "*#" ...
    <STRING_LITERAL> ...
    "if" ...
    "stop" ...
    <NUMBER_LITERAL> ...
    <WORD> ...
    <DOT> ...
    "{" ...
    "}" ...
    <IDENTIFIER> ...
    
        at 
org.apache.velocity.runtime.parser.Parser.generateParseException(Pars
er.java)


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