From: Piotr Trojanek Date: Wed, 30 May 2018 08:59:03 +0000 (+0000) Subject: [Ada] Update documentation of Sinfo.Package_Instantiation field X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=30522cdb1462ff8892d01429de3d73e1b5c7e919;p=gcc.git [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 gcc/ada/ * einfo.ads (Package_Instantiation): Update comment after a routine that uses this field has been renamed. From-SVN: r260950 --- diff --git a/gcc/ada/ChangeLog b/gcc/ada/ChangeLog index db17d684e76..96c90c64711 100644 --- a/gcc/ada/ChangeLog +++ b/gcc/ada/ChangeLog @@ -1,3 +1,8 @@ +2018-05-30 Piotr Trojanek + + * einfo.ads (Package_Instantiation): Update comment after a routine + that uses this field has been renamed. + 2018-05-30 Ed Schonberg * 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 384de07134d..9a7206ffc15 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. ???