[Ada] Fix typos in comment about expansion of attribute Image
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 10 Feb 2021 12:14:48 +0000 (13:14 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Jun 2021 10:19:28 +0000 (06:19 -0400)
gcc/ada/

* exp_imgv.adb (Expand_User_Defined_Enumeration_Image): Fix
typos.

gcc/ada/exp_imgv.adb

index 3e7336a..54626be 100644 (file)
@@ -952,7 +952,7 @@ package body Exp_Imgv is
          end;
 
          --  Generate:
-         --    S4 : String renames call_put_enumS (S2 .. S3 - 1);
+         --    P4 : String renames call_put_enumS (P2 .. P3 - 1);
 
          declare
             Sub_Node : constant Node_Id := New_Op_Node (N_Op_Subtract, Loc);