aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2016-10-12 17:34:33 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2016-10-12 17:34:33 +0200
commitaa07dfe7a053e6c7faad05c87306ee6829356eb3 (patch)
treecdd3d46e7a25be4dc33435a4cefdbd18932b5657 /gcc
parentc997869f1620b733efd4d6ef344deb0377566510 (diff)
downloadgcc-aa07dfe7a053e6c7faad05c87306ee6829356eb3.zip
gcc-aa07dfe7a053e6c7faad05c87306ee6829356eb3.tar.gz
gcc-aa07dfe7a053e6c7faad05c87306ee6829356eb3.tar.bz2
Minor reformatting.
From-SVN: r241064
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/sem.adb13
1 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ada/sem.adb b/gcc/ada/sem.adb
index 6e8ab45..1b1720d3 100644
--- a/gcc/ada/sem.adb
+++ b/gcc/ada/sem.adb
@@ -1768,8 +1768,10 @@ package body Sem is
null;
when N_Null_Statement =>
- pragma Assert (Is_Ignored_Ghost_Node (Original_Node (Item)));
+
-- Do not call Action for an ignored ghost unit
+
+ pragma Assert (Is_Ignored_Ghost_Node (Original_Node (Item)));
return;
when others =>
@@ -2095,13 +2097,14 @@ package body Sem is
Unit (Library_Unit (Main_CU)));
end if;
- -- It's a spec, process it, and the units it depends on,
- -- unless it is a descendant of the main unit. This can
- -- happen when the body of a parent depends on some other
- -- descendant.
+ -- It is a spec, process it, and the units it depends on,
+ -- unless it is a descendant of the main unit. This can happen
+ -- when the body of a parent depends on some other descendant.
when N_Null_Statement =>
+
-- Ignore an ignored ghost unit
+
pragma Assert (Is_Ignored_Ghost_Node (Original_Node (N)));
null;