velocity-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Byron Foster (JIRA)" <...@velocity.apache.org>
Subject [jira] Commented: (VELOCITY-690) Do not require block directive to have parenthesis
Date Sun, 08 Feb 2009 11:54:59 GMT

    [ https://issues.apache.org/jira/browse/VELOCITY-690?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12671576#action_12671576
] 

Byron Foster commented on VELOCITY-690:
---------------------------------------

This change also allows block macros to use brackets such as:

#{@foo}bar#end



> Do not require block directive to have parenthesis
> --------------------------------------------------
>
>                 Key: VELOCITY-690
>                 URL: https://issues.apache.org/jira/browse/VELOCITY-690
>             Project: Velocity
>          Issue Type: Improvement
>          Components: Engine
>    Affects Versions: 2.0
>            Reporter: Byron Foster
>
> Block directives are currently required by the parser to contain parenthesis, which includes
block macros. So
> #@foo 
> #end
> is not allowed, and neither are custom block directives.  Removing this requirement makes
the syntax consistent with line directives.

-- 
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: dev-unsubscribe@velocity.apache.org
For additional commands, e-mail: dev-help@velocity.apache.org


Mime
View raw message