Return-Path: Delivered-To: apmail-velocity-dev-archive@www.apache.org Received: (qmail 39172 invoked from network); 8 Feb 2009 11:55:25 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Feb 2009 11:55:25 -0000 Received: (qmail 52174 invoked by uid 500); 8 Feb 2009 11:55:24 -0000 Delivered-To: apmail-velocity-dev-archive@velocity.apache.org Received: (qmail 52158 invoked by uid 500); 8 Feb 2009 11:55:24 -0000 Mailing-List: contact dev-help@velocity.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Velocity Developers List" Delivered-To: mailing list dev@velocity.apache.org Received: (qmail 52147 invoked by uid 500); 8 Feb 2009 11:55:24 -0000 Delivered-To: apmail-jakarta-velocity-dev@jakarta.apache.org Received: (qmail 52144 invoked by uid 99); 8 Feb 2009 11:55:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 03:55:24 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 08 Feb 2009 11:55:20 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 78BB0234C4AB for ; Sun, 8 Feb 2009 03:54:59 -0800 (PST) Message-ID: <1295629643.1234094099492.JavaMail.jira@brutus> Date: Sun, 8 Feb 2009 03:54:59 -0800 (PST) From: "Byron Foster (JIRA)" To: velocity-dev@jakarta.apache.org Subject: [jira] Commented: (VELOCITY-690) Do not require block directive to have parenthesis In-Reply-To: <2029387146.1234084740478.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ 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