]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Fix old typo in comment
authorEric Botcazou <ebotcazou@adacore.com>
Wed, 12 May 2021 21:37:20 +0000 (23:37 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 6 Jul 2021 14:46:59 +0000 (14:46 +0000)
gcc/ada/

* repinfo-input.adb (JSON_Entity_Kind, Read_Variant_Part): Fix
typo in comment.

gcc/ada/repinfo-input.adb

index 106c43c49c735f4e021b7c59b3b5db6e92e5e708..5d850407ba291d4304666d2a32c4b2d49ff1d55e 100644 (file)
@@ -38,7 +38,7 @@ package body Repinfo.Input is
    --  Value for Storage_Unit
 
    type JSON_Entity_Kind is (JE_Record_Type, JE_Array_Type, JE_Other);
-   --  Kind of an entiy
+   --  Kind of an entity
 
    type JSON_Entity_Node (Kind : JSON_Entity_Kind := JE_Other) is record
       Esize   : Node_Ref_Or_Val;
@@ -1219,7 +1219,7 @@ package body Repinfo.Input is
          Var         : JSON_Variant_Node;
 
       begin
-         --  Read a non-empty array of components
+         --  Read a nonempty array of components
 
          Read_Token_And_Error (J_ARRAY, Token_Start, Token_End);