@@ -184,10 +184,10 @@ package body Templates_Parser.XML is
184184
185185 else
186186 L := N - 1 ; -- Last character for the tag name
187- N := N + 4 ; -- First character after _DIM
187+ N := @ + 4 ; -- First character after _DIM
188188
189189 loop
190- N := N + 1 ;
190+ N := @ + 1 ;
191191 exit when Var (N) = ' _' or else N = Var'Last;
192192
193193 if Var (N) not in ' 0' .. ' 9' then
@@ -286,8 +286,8 @@ package body Templates_Parser.XML is
286286 Output_Tag (N.VS.all , Pos & Indices'[P]);
287287 end if ;
288288
289- P := P + 1 ;
290- N := N .Next;
289+ P := @ + 1 ;
290+ N := @ .Next;
291291 end loop ;
292292 end Output_Tag ;
293293
@@ -465,7 +465,7 @@ package body Templates_Parser.XML is
465465 N := DOM.Core.Nodes.First_Child (Parent);
466466
467467 while N /= null and then DOM.Core.Nodes.Node_Name (N) = " #text" loop
468- N := DOM.Core.Nodes.Next_Sibling (N );
468+ N := DOM.Core.Nodes.Next_Sibling (@ );
469469 end loop ;
470470
471471 return N;
@@ -493,7 +493,7 @@ package body Templates_Parser.XML is
493493 M : DOM.Core.Node := N;
494494 begin
495495 loop
496- M := DOM.Core.Nodes.Next_Sibling (M );
496+ M := DOM.Core.Nodes.Next_Sibling (@ );
497497 exit when M = null or else DOM.Core.Nodes.Node_Name (M) /= " #text" ;
498498 end loop ;
499499
@@ -614,7 +614,7 @@ package body Templates_Parser.XML is
614614 and then Local_Name (Item (Atts, 0 )) = " ind"
615615 then
616616 K := Positive'Value (Node_Value (Item (Atts, 0 )));
617- Max := Natural'Max (Max , K);
617+ Max := Natural'Max (@ , K);
618618
619619 Map.Insert
620620 (Node_Value (Item (Atts, 0 )),
@@ -636,7 +636,8 @@ package body Templates_Parser.XML is
636636 Error (C, " Entity Label expected, found " & N_Name);
637637 end if ;
638638 end ;
639- C := Next_Sibling (C);
639+
640+ C := Next_Sibling (@);
640641 end loop ;
641642
642643 -- Now we have all labels indexed into the Map (key being the
@@ -710,7 +711,7 @@ package body Templates_Parser.XML is
710711 end if ;
711712 end ;
712713
713- C := Next_Sibling (C );
714+ C := Next_Sibling (@ );
714715 end loop ;
715716
716717 return Result;
@@ -789,7 +790,7 @@ package body Templates_Parser.XML is
789790 end if ;
790791 end ;
791792
792- C := Next_Sibling (C );
793+ C := Next_Sibling (@ );
793794 end loop ;
794795
795796 if not Found then
@@ -885,7 +886,7 @@ package body Templates_Parser.XML is
885886 end if ;
886887 end ;
887888
888- C := Next_Sibling (C );
889+ C := Next_Sibling (@ );
889890 end loop ;
890891
891892 if Name = Null_Unbounded_String then
@@ -923,7 +924,8 @@ package body Templates_Parser.XML is
923924 " Entity Tag, Dim or Entry expected, found " & N_Name);
924925 end if ;
925926 end ;
926- C := Next_Sibling (C);
927+
928+ C := Next_Sibling (@);
927929 end loop ;
928930
929931 -- Now we have all entities in the Data map
@@ -961,7 +963,8 @@ package body Templates_Parser.XML is
961963 Error (C, " Entity Tag or V expected, found " & N_Name);
962964 end if ;
963965 end ;
964- C := Next_Sibling (C);
966+
967+ C := Next_Sibling (@);
965968 end loop ;
966969
967970 Insert (Result, Assoc (To_String (Name), To_String (Value)));
@@ -1004,7 +1007,8 @@ package body Templates_Parser.XML is
10041007 " Entity Name or Description expected, found " & N_Name);
10051008 end if ;
10061009 end ;
1007- C := Next_Sibling (C);
1010+
1011+ C := Next_Sibling (@);
10081012 end loop ;
10091013 end Parse_Tag ;
10101014
@@ -1034,7 +1038,7 @@ package body Templates_Parser.XML is
10341038 end if ;
10351039 end ;
10361040
1037- C := Next_Sibling (C );
1041+ C := Next_Sibling (@ );
10381042 end loop ;
10391043
10401044 return T;
0 commit comments