public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Ada] Move Implementation_Defined pragma to inner package
@ 2011-10-16 13:20 Arnaud Charlet
  0 siblings, 0 replies; only message in thread
From: Arnaud Charlet @ 2011-10-16 13:20 UTC (permalink / raw)
  To: gcc-patches; +Cc: Matthew Heaney

[-- Attachment #1: Type: text/plain, Size: 362 bytes --]

The declaration of the Implementation_Defined pragma was moved from the outer
scope to the scope of the nested package Implementation.

Tested on x86_64-pc-linux-gnu, committed on trunk

2011-10-16  Matthew Heaney  <heaney@adacore.com>

	* a-cusyqu.ads, a-cbsyqu.ads, a-cuprqu.ads, a-cbprqu.ads (package
	Implementation): Specify pragma Implementation_Defined.


[-- Attachment #2: difs --]
[-- Type: text/plain, Size: 2356 bytes --]

Index: a-cusyqu.ads
===================================================================
--- a-cusyqu.ads	(revision 180025)
+++ a-cusyqu.ads	(working copy)
@@ -44,11 +44,11 @@
 package Ada.Containers.Unbounded_Synchronized_Queues is
    pragma Preelaborate;
 
-   --  All identifiers in this unit are implementation defined
+   package Implementation is
 
-   pragma Implementation_Defined;
+      --  All identifiers in this unit are implementation defined
 
-   package Implementation is
+      pragma Implementation_Defined;
 
       type List_Type is tagged limited private;
 
Index: a-cbprqu.ads
===================================================================
--- a-cbprqu.ads	(revision 180025)
+++ a-cbprqu.ads	(working copy)
@@ -54,11 +54,11 @@
 package Ada.Containers.Bounded_Priority_Queues is
    pragma Preelaborate;
 
-   --  All identifiers in this unit are implementation defined
+   package Implementation is
 
-   pragma Implementation_Defined;
+      --  All identifiers in this unit are implementation defined
 
-   package Implementation is
+      pragma Implementation_Defined;
 
       type List_Type (Capacity : Count_Type) is tagged limited private;
 
Index: a-cuprqu.ads
===================================================================
--- a-cuprqu.ads	(revision 180025)
+++ a-cuprqu.ads	(working copy)
@@ -52,11 +52,11 @@
 package Ada.Containers.Unbounded_Priority_Queues is
    pragma Preelaborate;
 
-   --  All identifiers in this unit are implementation defined
+   package Implementation is
 
-   pragma Implementation_Defined;
+      --  All identifiers in this unit are implementation defined
 
-   package Implementation is
+      pragma Implementation_Defined;
 
       type List_Type is tagged limited private;
 
Index: a-cbsyqu.ads
===================================================================
--- a-cbsyqu.ads	(revision 180025)
+++ a-cbsyqu.ads	(working copy)
@@ -44,11 +44,11 @@
 package Ada.Containers.Bounded_Synchronized_Queues is
    pragma Preelaborate;
 
-   --  All identifiers in this unit are implementation defined
+   package Implementation is
 
-   pragma Implementation_Defined;
+      --  All identifiers in this unit are implementation defined
 
-   package Implementation is
+      pragma Implementation_Defined;
 
       type List_Type (Capacity : Count_Type) is tagged limited private;
 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-16 12:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-16 13:20 [Ada] Move Implementation_Defined pragma to inner package Arnaud Charlet

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).