Return-Path: Delivered-To: apmail-commons-commits-archive@minotaur.apache.org Received: (qmail 47441 invoked from network); 2 Aug 2009 12:28:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 2 Aug 2009 12:28:14 -0000 Received: (qmail 72087 invoked by uid 500); 2 Aug 2009 12:28:17 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 71980 invoked by uid 500); 2 Aug 2009 12:28:17 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 71971 invoked by uid 99); 2 Aug 2009 12:28:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 12:28:17 +0000 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.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 02 Aug 2009 12:28:15 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 4CF6C23888FC; Sun, 2 Aug 2009 12:27:55 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r800043 - /commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl Date: Sun, 02 Aug 2009 12:27:55 -0000 To: commits@commons.apache.org From: sebb@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090802122755.4CF6C23888FC@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: sebb Date: Sun Aug 2 12:27:54 2009 New Revision: 800043 URL: http://svn.apache.org/viewvc?rev=800043&view=rev Log: Add AL header - also checks block comments Add tests for JEXL-44 and JEXL-47 Modified: commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl Modified: commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl URL: http://svn.apache.org/viewvc/commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl?rev=800043&r1=800042&r2=800043&view=diff ============================================================================== --- commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl (original) +++ commons/proper/jexl/branches/2.0/src/test-scripts/test1.jexl Sun Aug 2 12:27:54 2009 @@ -1,3 +1,22 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +// This tests for JEXL-47. AL header above tests for block comments. + ## ## This is a test script ## @@ -7,4 +26,8 @@ result = x * y + 5; if (out != null) out.println("The result is " + result); ## return the result. -result; \ No newline at end of file +result; // JEXL-44 should ignore "quotes" here + +/* + Trailing comments are also ignored +*/ \ No newline at end of file