@@ -476,18 +476,19 @@ package body Filter is
476476 use type Strings.Maps.Character_Set;
477477 package L1 renames Ada.Characters.Latin_1;
478478
479- Result : String (S'Range );
480-
481- Non_ASCII : constant String
482- := (L1.Space, L1.LC_E_Acute, L1.LC_E_Grave, L1.LC_E_Circumflex,
483- L1.LC_I_Circumflex, L1.LC_I_Diaeresis, L1.LC_A_Grave,
484- L1.LC_O_Circumflex, L1.LC_C_Cedilla);
479+ Non_ASCII : constant String :=
480+ (L1.Space, L1.LC_E_Acute, L1.LC_E_Grave,
481+ L1.LC_E_Circumflex, L1.LC_I_Circumflex,
482+ L1.LC_I_Diaeresis, L1.LC_A_Grave,
483+ L1.LC_O_Circumflex, L1.LC_C_Cedilla);
485484
486485 Clean_Set : constant Strings.Maps.Character_Set :=
487486 Strings.Maps.Constants.Letter_Set
488487 or Strings.Maps.Constants.Decimal_Digit_Set
489488 or Strings.Maps.To_Set (Non_ASCII);
490489
490+ Result : String (S'Range );
491+
491492 begin
492493 Check_Null_Parameter (P);
493494
@@ -1533,8 +1534,7 @@ package body Filter is
15331534 function Replace
15341535 (S : String;
15351536 C : not null access Filter_Context;
1536- P : Parameter_Data := No_Parameter) return String
1537- is
1537+ P : Parameter_Data := No_Parameter) return String is
15381538 begin
15391539 return Replace_One_Or_All
15401540 (S, P, C.Translations, C.I_Parameters, One => True);
@@ -1547,8 +1547,7 @@ package body Filter is
15471547 function Replace_All
15481548 (S : String;
15491549 C : not null access Filter_Context;
1550- P : Parameter_Data := No_Parameter) return String
1551- is
1550+ P : Parameter_Data := No_Parameter) return String is
15521551 begin
15531552 return Replace_One_Or_All
15541553 (S, P, C.Translations, C.I_Parameters, One => False);
0 commit comments