-- Note: these pragmas also have some specific processing in Par.Prag
-- because we want to set the Ada 2005 version mode during parsing.
+ -- The one argument form is used for managing the transition from
+ -- Ada 95 to Ada 2005 in the run-time library. If an entity is marked
+ -- as Ada_2005 only, then referencing the entity in Ada_83 or Ada_95
+ -- mode will generate a warning. In addition, in Ada_83 or Ada_95
+ -- mode, a preference rule is established which does not choose
+ -- such an entity unless it is unambiguously specified. This avoids
+ -- extra subprograms marked this way from generating ambiguities in
+ -- otherwise legal pre-Ada_2005 programs. The one argument form is
+ -- intended for exclusive use in the GNAT run-time library.
+
when Pragma_Ada_05 | Pragma_Ada_2005 => declare
E_Id : Node_Id;
-- Note: these pragmas also have some specific processing in Par.Prag
-- because we want to set the Ada 2012 version mode during parsing.
+ -- The one argument form is used for managing the transition from Ada
+ -- 2005 to Ada 2012 in the run-time library. If an entity is marked
+ -- as Ada_201 only, then referencing the entity in any pre-Ada_2012
+ -- mode will generate a warning. In addition, in any pre-Ada_2012
+ -- mode, a preference rule is established which does not choose
+ -- such an entity unless it is unambiguously specified. This avoids
+ -- extra subprograms marked this way from generating ambiguities in
+ -- otherwise legal pre-Ada_2012 programs. The one argument form is
+ -- intended for exclusive use in the GNAT run-time library.
+
when Pragma_Ada_12 | Pragma_Ada_2012 => declare
E_Id : Node_Id;