Return-Path: Delivered-To: apmail-directory-commits-archive@www.apache.org Received: (qmail 10766 invoked from network); 22 Aug 2009 14:30:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 22 Aug 2009 14:30:30 -0000 Received: (qmail 64296 invoked by uid 500); 22 Aug 2009 14:30:52 -0000 Delivered-To: apmail-directory-commits-archive@directory.apache.org Received: (qmail 64235 invoked by uid 500); 22 Aug 2009 14:30:51 -0000 Mailing-List: contact commits-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@directory.apache.org Delivered-To: mailing list commits@directory.apache.org Received: (qmail 64226 invoked by uid 99); 22 Aug 2009 14:30:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 22 Aug 2009 14:30:51 +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; Sat, 22 Aug 2009 14:30:50 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1568A23888FF; Sat, 22 Aug 2009 14:30:30 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r806860 - /directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g Date: Sat, 22 Aug 2009 14:30:29 -0000 To: commits@directory.apache.org From: elecharny@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090822143030.1568A23888FF@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: elecharny Date: Sat Aug 22 14:30:29 2009 New Revision: 806860 URL: http://svn.apache.org/viewvc?rev=806860&view=rev Log: Updated the LdapSyntax parser Modified: directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g Modified: directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g URL: http://svn.apache.org/viewvc/directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g?rev=806860&r1=806859&r2=806860&view=diff ============================================================================== --- directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g (original) +++ directory/shared/branches/shared-schema/ldap/src/main/antlr/schema.g Sat Aug 22 14:30:29 2009 @@ -476,13 +476,13 @@ * extensions WSP RPAREN ; extensions * */ -ldapSyntaxDescription returns [LdapSyntaxDescription lsd = new LdapSyntaxDescription()] +ldapSyntaxDescription returns [LdapSyntaxDescription lsd] { matchedProduction( "ldapSyntaxDescription()" ); ElementTracker et = new ElementTracker(); } : - ( oid:STARTNUMERICOID { lsd.setNumericOid(numericoid(oid.getText())); } ) + ( oid:STARTNUMERICOID { lsd = new LdapSyntaxDescription(oid.getText()); } ) ( ( name:NAME { et.track("NAME", name); lsd.setNames(qdescrs(name.getText())); } ) |