directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r201734 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
Date Sun, 26 Jun 2005 09:56:28 GMT
Author: elecharny
Date: Sat Jun 25 00:50:56 2005
New Revision: 201734

URL: http://svn.apache.org/viewcvs?rev=201734&view=rev
Log:
Fixed a bad transition in the grammar

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java?rev=201734&r1=201733&r2=201734&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/codec/grammars/SearchResultEntryGrammar.java
Sat Jun 25 00:50:56 2005
@@ -166,16 +166,6 @@
         //    attributes      PartialAttributeList }
         // PartialAttributeList ::= *SEQUENCE* OF SEQUENCE { (Tag)
         //    ...
-        // Loop.
-        super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG][0x30]
=
-            new GrammarTransition(
-                LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG,
-                LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTES_VALUE, null );
-
-        // SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
-        //    attributes      PartialAttributeList }
-        // PartialAttributeList ::= *SEQUENCE* OF SEQUENCE { (Tag)
-        //    ...
         // We may have many attributes. Nothing to do
         super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTES_VALUE][0x30] =
             new GrammarTransition(
@@ -188,6 +178,16 @@
         super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_TAG][0x30]
=
             new GrammarTransition(
                 LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_TAG,
+                LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_VALUE, null );
+
+        // SearchResultEntry ::= [APPLICATION 4] SEQUENCE {
+        //    attributes      PartialAttributeList }
+        // PartialAttributeList ::= SEQUENCE OF *SEQUENCE* { (Tag)
+        //    ...
+        // Loop.
+        super.transitions[LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG][0x30]
=
+            new GrammarTransition(
+                LdapStatesEnum.SEARCH_RESULT_ENTRY_ATTRIBUTE_VALUE_OR_LIST_TAG,
                 LdapStatesEnum.SEARCH_RESULT_ENTRY_PARTIAL_ATTRIBUTE_LIST_VALUE, null );
 
         // PartialAttributeList ::= SEQUENCE OF *SEQUENCE* { (Value)



Mime
View raw message