You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2011/11/29 17:46:10 UTC
svn commit: r1207961 -
/directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g
Author: elecharny
Date: Tue Nov 29 16:46:10 2011
New Revision: 1207961
URL: http://svn.apache.org/viewvc?rev=1207961&view=rev
Log:
Fixed the bad OID parsing
Modified:
directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g
Modified: directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g
URL: http://svn.apache.org/viewvc/directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g?rev=1207961&r1=1207960&r2=1207961&view=diff
==============================================================================
--- directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g (original)
+++ directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g Tue Nov 29 16:46:10 2011
@@ -67,7 +67,7 @@ protected LDIGIT : '1'..'9' ;
protected DIGIT : '0'..'9' ;
protected NUMBER : DIGIT | ( LDIGIT (DIGIT)+ ) ;
protected NUMBER2 : (DIGIT)+ ;
-protected NUMERICOID : NUMBER ( '.' NUMBER )+ ;
+protected NUMERICOID : NUMBER2 ( '.' NUMBER2 )+ ;
protected HYPEN : '-';
protected OTHER : '_' | ';' | '.' | ':' ;
protected DESCR: CHAR ( CHAR | DIGIT | HYPEN )* ;