You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@velocity.apache.org by bu...@apache.org on 2002/03/25 23:32:20 UTC

DO NOT REPLY [Bug 7466] New: - Parser.DirectiveArg dies on integer literal vm parameters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7466>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7466

Parser.DirectiveArg dies on integer literal vm parameters

           Summary: Parser.DirectiveArg dies on integer literal vm
                    parameters
           Product: Velocity
           Version: 1.2
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Source
        AssignedTo: velocity-dev@jakarta.apache.org
        ReportedBy: ddekany@freemail.hu


The template below will die with java.lang.Error "Missing return statement in function" at 
org.apache.velocity.runtime.parser.Parser.DirectiveArg(Parser.java:575):

#macro(x 
$a)
[$a]
#end

#x(1)

Will not die if you replace the last line with 
#x('foo').

Tried with 1.4 nightly 25/03/2002

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