Natools

Diff
Login

Differences From Artifact [c491bede79]:

To Artifact [cea1ca4044]:


100
101
102
103
104
105
106
107

108
109
110
111
112
113
114
   overriding procedure Next
     (Self : in out Parser;
      Event : out Events.Event)
   is
      O : Octet;
   begin
      if Self.Locked then
         raise Constraint_Error;

      end if;

      Self.Latest := Events.Error;
      loop
         --  Process pending events

         if Self.Next_Event /= Events.End_Of_Input then







|
>







100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
   overriding procedure Next
     (Self : in out Parser;
      Event : out Events.Event)
   is
      O : Octet;
   begin
      if Self.Locked then
         Event := Evnets.End_Of_Input;
         return;
      end if;

      Self.Latest := Events.Error;
      loop
         --  Process pending events

         if Self.Next_Event /= Events.End_Of_Input then