summaryrefslogtreecommitdiff
path: root/gcc/ada/stand.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-26 07:37:12 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2008-03-26 07:37:12 +0000
commita34b706f9ed609a7be20185d274a412f09f86dd9 (patch)
tree33c138451a603360f07397808e6edd12459cc6c7 /gcc/ada/stand.ads
parentce7498d30b55ed50ea00c603a700738297c8b699 (diff)
downloadgcc-a34b706f9ed609a7be20185d274a412f09f86dd9.tar.gz
2008-03-26 Robert Dewar <dewar@adacore.com>
* stand.ads: Deal with reordering of package standard declarations * cstand.adb: Put package Standard declarations in proper order git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133554 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/stand.ads')
-rw-r--r--gcc/ada/stand.ads31
1 files changed, 17 insertions, 14 deletions
diff --git a/gcc/ada/stand.ads b/gcc/ada/stand.ads
index 32b769fab38..964ff192d31 100644
--- a/gcc/ada/stand.ads
+++ b/gcc/ada/stand.ads
@@ -54,16 +54,11 @@ package Stand is
S_Standard,
S_ASCII,
- -- Types defined in package Standard
+ -- Types and subtypes defined in package Standard (in the order in which
+ -- they appear in the RM, so that the declarations are in the right
+ -- order for the purposes of ASIS traversals
S_Boolean,
- S_Character,
- S_Wide_Character,
- S_Wide_Wide_Character,
- S_String,
- S_Wide_String,
- S_Wide_Wide_String,
- S_Duration,
S_Short_Short_Integer,
S_Short_Integer,
@@ -71,21 +66,29 @@ package Stand is
S_Long_Integer,
S_Long_Long_Integer,
+ S_Natural,
+ S_Positive,
+
S_Short_Float,
S_Float,
S_Long_Float,
S_Long_Long_Float,
+ S_Character,
+ S_Wide_Character,
+ S_Wide_Wide_Character,
+
+ S_String,
+ S_Wide_String,
+ S_Wide_Wide_String,
+
+ S_Duration,
+
-- Enumeration literals for type Boolean
S_False,
S_True,
- -- Subtypes declared in package Standard
-
- S_Natural,
- S_Positive,
-
-- Exceptions declared in package Standard
S_Constraint_Error,
@@ -218,7 +221,7 @@ package Stand is
S_DEL); -- 16#7F#
subtype S_Types is
- Standard_Entity_Type range S_Boolean .. S_Long_Long_Float;
+ Standard_Entity_Type range S_Boolean .. S_Duration;
subtype S_Exceptions is
Standard_Entity_Type range S_Constraint_Error .. S_Tasking_Error;