Commit 04cbd48e by Arnaud Charlet

[multiple changes]

2010-10-21  Geert Bosch  <bosch@adacore.com>

	* urealp.adb (UR_Write): Write hexadecimal constants with exponent 1 as
	decimal constants, and write any others using the exponent notation.
	Minor reformatting throughout
	(Store_Ureal_Normalized): New function (minor code reorganization)

2010-10-21  Robert Dewar  <dewar@adacore.com>

	* einfo.ads, xeinfo.adb: Minor reformatting.
	* s-stalib.ads: Minor comment fixes.

From-SVN: r165762
parent 7fc53871
2010-10-21 Geert Bosch <bosch@adacore.com>
* urealp.adb (UR_Write): Write hexadecimal constants with exponent 1 as
decimal constants, and write any others using the exponent notation.
Minor reformatting throughout
(Store_Ureal_Normalized): New function (minor code reorganization)
2010-10-21 Robert Dewar <dewar@adacore.com>
* einfo.ads, xeinfo.adb: Minor reformatting.
* s-stalib.ads: Minor comment fixes.
2010-10-21 Ed Schonberg <schonberg@adacore.com> 2010-10-21 Ed Schonberg <schonberg@adacore.com>
* sem_ch6.adb (Enter_Overloaded_Entity): Refine warning message about * sem_ch6.adb (Enter_Overloaded_Entity): Refine warning message about
......
...@@ -850,10 +850,11 @@ package Einfo is ...@@ -850,10 +850,11 @@ package Einfo is
-- index starting at 1 and ranging up to number of discriminants. -- index starting at 1 and ranging up to number of discriminants.
-- Dispatch_Table_Wrappers (Elist26) [implementation base type only] -- Dispatch_Table_Wrappers (Elist26) [implementation base type only]
-- Present in library level record type entities if we are generating -- Present in record type [with private] entities. Set in library level
-- statically allocated dispatch tables. For a tagged type, points to -- record type entities if we are generating statically allocated
-- the list of dispatch table wrappers associated with the tagged type. -- dispatch tables. For a tagged type, points to the list of dispatch
-- For a non-tagged record, contains No_Elist. -- table wrappers associated with the tagged type. For a non-tagged
-- record, contains No_Elist.
-- DTC_Entity (Node16) -- DTC_Entity (Node16)
-- Present in function and procedure entities. Set to Empty unless -- Present in function and procedure entities. Set to Empty unless
...@@ -5424,7 +5425,6 @@ package Einfo is ...@@ -5424,7 +5425,6 @@ package Einfo is
-- E_Record_Subtype -- E_Record_Subtype
-- Direct_Primitive_Operations (Elist10) -- Direct_Primitive_Operations (Elist10)
-- Access_Disp_Table (Elist16) (base type only) -- Access_Disp_Table (Elist16) (base type only)
-- Dispatch_Table_Wrappers (Elist26) (base type only)
-- Cloned_Subtype (Node16) (subtype case only) -- Cloned_Subtype (Node16) (subtype case only)
-- First_Entity (Node17) -- First_Entity (Node17)
-- Corresponding_Concurrent_Type (Node18) -- Corresponding_Concurrent_Type (Node18)
...@@ -5434,6 +5434,7 @@ package Einfo is ...@@ -5434,6 +5434,7 @@ package Einfo is
-- Corresponding_Remote_Type (Node22) -- Corresponding_Remote_Type (Node22)
-- Stored_Constraint (Elist23) -- Stored_Constraint (Elist23)
-- Interfaces (Elist25) -- Interfaces (Elist25)
-- Dispatch_Table_Wrappers (Elist26) (base type only)
-- Underlying_Record_View (Node28) (base type only) -- Underlying_Record_View (Node28) (base type only)
-- Component_Alignment (special) (base type only) -- Component_Alignment (special) (base type only)
-- C_Pass_By_Copy (Flag125) (base type only) -- C_Pass_By_Copy (Flag125) (base type only)
...@@ -5457,7 +5458,6 @@ package Einfo is ...@@ -5457,7 +5458,6 @@ package Einfo is
-- E_Record_Subtype_With_Private -- E_Record_Subtype_With_Private
-- Direct_Primitive_Operations (Elist10) -- Direct_Primitive_Operations (Elist10)
-- Access_Disp_Table (Elist16) (base type only) -- Access_Disp_Table (Elist16) (base type only)
-- Dispatch_Table_Wrappers (Elist26) (base type only)
-- First_Entity (Node17) -- First_Entity (Node17)
-- Private_Dependents (Elist18) -- Private_Dependents (Elist18)
-- Underlying_Full_View (Node19) -- Underlying_Full_View (Node19)
...@@ -5466,6 +5466,7 @@ package Einfo is ...@@ -5466,6 +5466,7 @@ package Einfo is
-- Private_View (Node22) -- Private_View (Node22)
-- Stored_Constraint (Elist23) -- Stored_Constraint (Elist23)
-- Interfaces (Elist25) -- Interfaces (Elist25)
-- Dispatch_Table_Wrappers (Elist26) (base type only)
-- Has_Completion (Flag26) -- Has_Completion (Flag26)
-- Has_Record_Rep_Clause (Flag65) (base type only) -- Has_Record_Rep_Clause (Flag65) (base type only)
-- Has_External_Tag_Rep_Clause (Flag110) -- Has_External_Tag_Rep_Clause (Flag110)
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- S p e c -- -- S p e c --
-- -- -- --
-- Copyright (C) 1992-2009, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -33,11 +33,11 @@ ...@@ -33,11 +33,11 @@
-- are required to be part of every Ada program. A special mechanism is -- are required to be part of every Ada program. A special mechanism is
-- required to ensure that these are loaded, since it may be the case in -- required to ensure that these are loaded, since it may be the case in
-- some programs that the only references to these required packages are -- some programs that the only references to these required packages are
-- from C code or from code generated directly by Gigi, an in both cases -- from C code or from code generated directly by Gigi, and in both cases
-- the binder is not aware of such references. -- the binder is not aware of such references.
-- System.Standard_Library also includes data that must be present in every -- System.Standard_Library also includes data that must be present in every
-- program, in particular the definitions of all the standard and also some -- program, in particular data for all the standard exceptions, and also some
-- subprograms that must be present in every program. -- subprograms that must be present in every program.
-- The binder unconditionally includes s-stalib.ali, which ensures that this -- The binder unconditionally includes s-stalib.ali, which ensures that this
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
-- -- -- --
-- B o d y -- -- B o d y --
-- -- -- --
-- Copyright (C) 1992-2008, Free Software Foundation, Inc. -- -- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
-- -- -- --
-- GNAT is free software; you can redistribute it and/or modify it under -- -- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- -- -- terms of the GNU General Public License as published by the Free Soft- --
...@@ -348,6 +348,7 @@ begin ...@@ -348,6 +348,7 @@ begin
-- Case of type declaration -- Case of type declaration
elsif Match (Line, F_Typ) then elsif Match (Line, F_Typ) then
-- Process type declaration (must be enumeration type) -- Process type declaration (must be enumeration type)
Ctr := 0; Ctr := 0;
...@@ -371,6 +372,7 @@ begin ...@@ -371,6 +372,7 @@ begin
end loop; end loop;
-- Process function declarations -- Process function declarations
-- Note: Lastinlined used to control blank lines -- Note: Lastinlined used to control blank lines
Put_Line (Ofile, ""); Put_Line (Ofile, "");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment