velocity-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "T. Konstantinovitz" <>
Subject Error when Single line comment is on the last line.
Date Sat, 10 Nov 2001 23:34:10 GMT

Thanks for a really great product!

I have come across a very minor problem in version 1.2RC3 , which I
think is an error. When the last line in a template is a single line
comment like:

<some template code>
## this is a comment

and you don't end the line with a newline character I get a parser error

An error occured while parsing template kontoudtog.vm: Lexical error:
.velocity.runtime.parser.TokenMgrError: Lexical error at line 41, column
21.  En
countered: <EOF> after : ""

But if I add a newline character after the comment the parser don't


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message