OSDN Git Service

2010-09-10 Robert Dewar <dewar@adacore.com>
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2010 15:19:45 +0000 (15:19 +0000)
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 10 Sep 2010 15:19:45 +0000 (15:19 +0000)
* sem.adb: Minor reformatting.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164190 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ada/ChangeLog
gcc/ada/sem.adb

index 62087b4..84cc946 100644 (file)
@@ -1,3 +1,7 @@
+2010-09-10  Robert Dewar  <dewar@adacore.com>
+
+       * sem.adb: Minor reformatting.
+
 2010-09-10  Bob Duff  <duff@adacore.com>
 
        * s-os_lib.ads, g-expect.ads: Add comments.
index 6b1032b..32ad831 100644 (file)
@@ -2200,12 +2200,11 @@ package body Sem is
             Action (Lib_Unit);
 
             --  If the context item indicates that a package body is needed
-            --  because of an instantiation in CU, traverse the body now,
-            --  even if CU is not related to the main unit. If the generic
-            --  itself appears in a package body, the context item is this
-            --  body, and it already appears in the traversal order, so we
-            --  only need to examine the case where the context item is a
-            --  package declaration.
+            --  because of an instantiation in CU, traverse the body now, even
+            --  if CU is not related to the main unit. If the generic itself
+            --  appears in a package body, the context item is this body, and
+            --  it already appears in the traversal order, so we only need to
+            --  examine the case of a context item being a package declaration.
 
             if Present (Withed_Body (Context_Item))
               and then Nkind (Unit (Lib_Unit)) = N_Package_Declaration