aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2018-05-30 08:59:03 +0000
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>2018-05-30 08:59:03 +0000
commit30522cdb1462ff8892d01429de3d73e1b5c7e919 (patch)
treefb3bc0deffe59cb7077d9a7c18af275bef243636 /gcc
parentb23fa3d45fcdcb42fabdffe4f8f720f070722bdc (diff)
downloadgcc-30522cdb1462ff8892d01429de3d73e1b5c7e919.zip
gcc-30522cdb1462ff8892d01429de3d73e1b5c7e919.tar.gz
gcc-30522cdb1462ff8892d01429de3d73e1b5c7e919.tar.bz2
[Ada] Update documentation of Sinfo.Package_Instantiation field
This was forgotten when renaming Get_Package_Instantiation_Node to Get_Unit_Instantiation_Node. 2018-05-30 Piotr Trojanek <trojanek@adacore.com> gcc/ada/ * einfo.ads (Package_Instantiation): Update comment after a routine that uses this field has been renamed. From-SVN: r260950
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ada/ChangeLog5
-rw-r--r--gcc/ada/einfo.ads2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog
index db17d68..96c90c6 100644
--- a/gcc/ada/ChangeLog
+++ b/gcc/ada/ChangeLog
@@ -1,3 +1,8 @@
+2018-05-30 Piotr Trojanek <trojanek@adacore.com>
+
+ * einfo.ads (Package_Instantiation): Update comment after a routine
+ that uses this field has been renamed.
+
2018-05-30 Ed Schonberg <schonberg@adacore.com>
* exp_ch11.adb (Replace_Raise_By_Goto): The transfomation is legal even
diff --git a/gcc/ada/einfo.ads b/gcc/ada/einfo.ads
index 384de07..9a7206f 100644
--- a/gcc/ada/einfo.ads
+++ b/gcc/ada/einfo.ads
@@ -3838,7 +3838,7 @@ package Einfo is
-- been rewritten to an N_Package_Specification, the instantiation
-- node is available from the Original_Node field of the package spec
-- node. This is currently not guaranteed to be set in all cases, but
--- when set, the field is used in Get_Package_Instantiation_Node as
+-- when set, the field is used in Get_Unit_Instantiation_Node as
-- one of the means of obtaining the instantiation node. Eventually
-- it should be set in all cases, including package entities associated
-- with formal packages. ???