directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1207961 - /directory/shared/trunk/ldap/model/src/main/antlr/schema-value.g
Date Tue, 29 Nov 2011 16:46:10 GMT
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 )* ;



Mime
View raw message