diff options
author | Robert Dewar <dewar@adacore.com> | 2009-07-20 12:47:50 +0000 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2009-07-20 14:47:50 +0200 |
commit | 5132708f8a29709b74d5eedb36c3414cdf44fa96 (patch) | |
tree | cd9adb2b11129c2ab71ead3667e7e27929206029 /gcc/ada/gnatls.adb | |
parent | 08ad1d6d82e6531a00d773bc3f24548b98c1f89a (diff) | |
download | gcc-5132708f8a29709b74d5eedb36c3414cdf44fa96.zip gcc-5132708f8a29709b74d5eedb36c3414cdf44fa96.tar.gz gcc-5132708f8a29709b74d5eedb36c3414cdf44fa96.tar.bz2 |
einfo.ads, [...]: Minor reformatting
2009-07-20 Robert Dewar <dewar@adacore.com>
* einfo.ads, switch.adb, gnatls.adb, inline.adb, sem_ch13.adb: Minor
reformatting
From-SVN: r149809
Diffstat (limited to 'gcc/ada/gnatls.adb')
-rw-r--r-- | gcc/ada/gnatls.adb | 80 |
1 files changed, 41 insertions, 39 deletions
diff --git a/gcc/ada/gnatls.adb b/gcc/ada/gnatls.adb index 1b7666f..ada6e59 100644 --- a/gcc/ada/gnatls.adb +++ b/gcc/ada/gnatls.adb @@ -191,11 +191,14 @@ procedure Gnatls is package GNATDIST is - -- Any modification to this subunit requires a synchronization with + -- Any modification to this subunit requires synchronization with the -- GNATDIST sources. - procedure Output_ALI (A : ALI_Id); + procedure Output_ALI (A : ALI_Id); + -- Comment required saying what this routine does ??? + procedure Output_No_ALI (Afile : File_Name_Type); + -- Comments required saying what this routine does ??? end GNATDIST; @@ -431,33 +434,33 @@ procedure Gnatls is T_Body); Image : constant array (Token_Type) of String_Access := - (T_No_ALI => new String'("No_ALI"), - T_ALI => new String'("ALI"), - T_Unit => new String'("Unit"), - T_With => new String'("With"), - T_Source => new String'("Source"), - T_Afile => new String'("Afile"), - T_Ofile => new String'("Ofile"), - T_Sfile => new String'("Sfile"), - T_Name => new String'("Name"), - T_Main => new String'("Main"), - T_Kind => new String'("Kind"), - T_Flags => new String'("Flags"), - T_Preelaborated => new String'("Preelaborated"), - T_Pure => new String'("Pure"), - T_Has_RACW => new String'("Has_RACW"), - T_Remote_Types => new String'("Remote_Types"), - T_Shared_Passive => new String'("Shared_Passive"), - T_RCI => new String'("RCI"), - T_Predefined => new String'("Predefined"), - T_Internal => new String'("Internal"), - T_Is_Generic => new String'("Is_Generic"), - T_Procedure => new String'("procedure"), - T_Function => new String'("function"), - T_Package => new String'("package"), - T_Subprogram => new String'("subprogram"), - T_Spec => new String'("spec"), - T_Body => new String'("body")); + (T_No_ALI => new String'("No_ALI"), + T_ALI => new String'("ALI"), + T_Unit => new String'("Unit"), + T_With => new String'("With"), + T_Source => new String'("Source"), + T_Afile => new String'("Afile"), + T_Ofile => new String'("Ofile"), + T_Sfile => new String'("Sfile"), + T_Name => new String'("Name"), + T_Main => new String'("Main"), + T_Kind => new String'("Kind"), + T_Flags => new String'("Flags"), + T_Preelaborated => new String'("Preelaborated"), + T_Pure => new String'("Pure"), + T_Has_RACW => new String'("Has_RACW"), + T_Remote_Types => new String'("Remote_Types"), + T_Shared_Passive => new String'("Shared_Passive"), + T_RCI => new String'("RCI"), + T_Predefined => new String'("Predefined"), + T_Internal => new String'("Internal"), + T_Is_Generic => new String'("Is_Generic"), + T_Procedure => new String'("procedure"), + T_Function => new String'("function"), + T_Package => new String'("package"), + T_Subprogram => new String'("subprogram"), + T_Spec => new String'("spec"), + T_Body => new String'("body")); procedure Output_Name (N : Name_Id); -- Remove any encoding info (%b and %s) and output N @@ -465,12 +468,11 @@ procedure Gnatls is procedure Output_Afile (A : File_Name_Type); procedure Output_Ofile (O : File_Name_Type); procedure Output_Sfile (S : File_Name_Type); - -- Output various names. Check that the name is different from - -- no name. Otherwise, skip the output. + -- Output various names. Check that the name is different from no name. + -- Otherwise, skip the output. procedure Output_Token (T : Token_Type); - -- Output token using a specific format. That is several - -- indentations and: + -- Output token using specific format. That is several indentations and: -- -- T_No_ALI .. T_With : <token> & " =>" & NL -- T_Source .. T_Kind : <token> & " => " @@ -609,12 +611,12 @@ procedure Gnatls is FS := Full_Source_Name (FS); -- There is no full source name. This occurs for instance when a - -- withed unit has a spec file but no body file. This situation - -- is not a problem for GNATDIST since the unit may be located on - -- a partition we do not want to build. However, we need to - -- locate the spec file and to find its full source name. - -- Replace the body file name with the spec file name used to - -- compile the current unit when possible. + -- withed unit has a spec file but no body file. This situation is + -- not a problem for GNATDIST since the unit may be located on a + -- partition we do not want to build. However, we need to locate + -- the spec file and to find its full source name. Replace the + -- body file name with the spec file name used to compile the + -- current unit when possible. if FS = No_File then Get_Name_String (S); |