summaryrefslogtreecommitdiff
path: root/gcc/ada/exp_ch3.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2004-12-08 12:49:44 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2004-12-08 12:49:44 +0100
commita5b62485c35a3c9a8e20ffce49b99f12791238e1 (patch)
tree356a0ddde24c2878297f41885b557aa46dd9d566 /gcc/ada/exp_ch3.adb
parent4e8c0836b4fd5d08cc776a07a134796f0b405808 (diff)
downloadgcc-a5b62485c35a3c9a8e20ffce49b99f12791238e1.tar.gz
g-socket.ads (Get_Host_By_Address, [...]): Clarify documentation of the behaviour of these functions when...
* g-socket.ads (Get_Host_By_Address, Get_Host_By_Name): Clarify documentation of the behaviour of these functions when passed an IP address that has no record in the system hosts database and no reverse record in the DNS. * cstand.adb, a-tags.ads: Fix typos in comment. * exp_ch2.adb, exp_ch3.adb, exp_ch5.adb, exp_ch8.adb, exp_ch9.adb, exp_pakd.adb, interfac.ads, sem_ch6.adb, sem_ch7.adb, sem_ch10.adb, sem_ch13.adb, sem_ch3.adb, s-poosiz.ads: Minor reformatting * make.adb: Minor reformatting Add some ??? comments asking for more comments * s-poosiz.adb: Minor reformatting Add comments on alignment requirement * sinfo.ads: Remove obsolete comment and fix typo. * gnat_ugn.texi: Update the section "The GNAT Driver and Project Files" with the new tool and package names. Reformatting to suppress most of the warnings for line too long Document the new section "Project Search Path:" in the output of gnatls -v. Add gnatmetric section * vms_data.ads: Correct GNAT METRIC qualifiers: -I-, -Idir and -gnatec= are not direct switches of gnatmetric. Changed -eis to -eps and -eit to -ept. Added qualifier /ELEMENT_METRICS=CONSTRUCT_NESTING_MAX for new switch -ec. From-SVN: r91896
Diffstat (limited to 'gcc/ada/exp_ch3.adb')
-rw-r--r--gcc/ada/exp_ch3.adb16
1 files changed, 8 insertions, 8 deletions
diff --git a/gcc/ada/exp_ch3.adb b/gcc/ada/exp_ch3.adb
index 0d3d72d35fd..27173efe787 100644
--- a/gcc/ada/exp_ch3.adb
+++ b/gcc/ada/exp_ch3.adb
@@ -640,7 +640,7 @@ package body Exp_Ch3 is
P : Node_Id;
begin
- -- Nothing to do if there is no task hierarchy.
+ -- Nothing to do if there is no task hierarchy
if Restriction_Active (No_Task_Hierarchy) then
return;
@@ -686,7 +686,7 @@ package body Exp_Ch3 is
end loop;
end if;
- -- Now define the renaming of the master_id.
+ -- Now define the renaming of the master_id
M_Id :=
Make_Defining_Identifier (Loc,
@@ -1310,7 +1310,7 @@ package body Exp_Ch3 is
Decl : Node_Id;
begin
- -- Nothing to do if there is no task hierarchy.
+ -- Nothing to do if there is no task hierarchy
if Restriction_Active (No_Task_Hierarchy) then
return;
@@ -2663,7 +2663,7 @@ package body Exp_Ch3 is
Expressions => New_List (New_Occurrence_Of (Rnn, Loc))))),
End_Label => Empty);
- -- Build exit condition.
+ -- Build exit condition
declare
F_Ass : constant List_Id := New_List;
@@ -3970,7 +3970,7 @@ package body Exp_Ch3 is
end loop;
end if;
- -- Now build an array declaration.
+ -- Now build an array declaration
-- typA : array (Natural range 0 .. num - 1) of ctype :=
-- (v, v, v, v, v, ....)
@@ -4081,7 +4081,7 @@ package body Exp_Ch3 is
if Enumeration_Rep (Ent) = Last_Repval then
- -- Another special case: for a single literal, Pos is zero.
+ -- Another special case: for a single literal, Pos is zero
Pos_Expr := Make_Integer_Literal (Loc, Uint_0);
@@ -4542,7 +4542,7 @@ package body Exp_Ch3 is
if RACW_Seen then
- -- If there are RACWs designating this type, make stubs now.
+ -- If there are RACWs designating this type, make stubs now
Remote_Types_Tagged_Full_View_Encountered (Def_Id);
end if;
@@ -4574,7 +4574,7 @@ package body Exp_Ch3 is
begin
if Scope (Old_C) = Base_Type (Def_Id) then
- -- The entity is the one in the parent. Create new one.
+ -- The entity is the one in the parent. Create new one
New_C := New_Copy (Old_C);
Set_Parent (New_C, Parent (Old_C));