summaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-19 10:42:16 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-02-19 10:42:16 +0000
commit1a10e335567dbac8d8c4c73a5c88bc83b02bcd85 (patch)
treea6b4caf26c785d13a10d0102a637af0cb1dbbc34 /gcc/ada/sinfo.ads
parentbde034549df85eb6231edea5a9d0c4f26969ec98 (diff)
downloadgcc-1a10e335567dbac8d8c4c73a5c88bc83b02bcd85.tar.gz
2014-02-19 Robert Dewar <dewar@adacore.com>
* exp_ch4.adb (Expand_N_Expression_With_Actions): Make sure declarations get properly inserted in Modify_Tree_For_C mode. * sinfo.ads: Minor comment addition. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207883 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sinfo.ads')
-rw-r--r--gcc/ada/sinfo.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.ads b/gcc/ada/sinfo.ads
index 4feed599c5d..ee3596545d7 100644
--- a/gcc/ada/sinfo.ads
+++ b/gcc/ada/sinfo.ads
@@ -2925,6 +2925,10 @@ package Sinfo is
-- Discrete_Subtype_Definitions (List2)
-- Component_Definition (Node4)
+ -- Note: although the language allows the full syntax for discrete
+ -- subtype definitions (i.e. a discrete subtype indication or a range),
+ -- in the generated tree, we always rewrite these as N_Range nodes.
+
--------------------------------------
-- 3.6 Discrete Subtype Definition --
--------------------------------------