aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/nlists.ads
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2017-01-13 11:38:56 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2017-01-13 11:38:56 +0100
commit3abbc5c2409fae926307f5321debdf6191cd2152 (patch)
tree6cacb10c92f95dd2445197b0ae052578e19dcd61 /gcc/ada/nlists.ads
parentef74daead6d1668980566524b3a49dcc8f51295c (diff)
downloadgcc-3abbc5c2409fae926307f5321debdf6191cd2152.zip
gcc-3abbc5c2409fae926307f5321debdf6191cd2152.tar.gz
gcc-3abbc5c2409fae926307f5321debdf6191cd2152.tar.bz2
[multiple changes]
2017-01-13 Yannick Moy <moy@adacore.com> * inline.adb: Code cleanup. * sem_util.adb (Is_OK_Volatile_Context): Add expression in delay statement as OK for volatile context. 2017-01-13 Ed Schonberg <schonberg@adacore.com> * sem_aggr.adb (Resolve_Array_Aggregate): In normal compilation mode a choice that is a subtype with a static predicate is replaced by the values it covers. This transformation must not be performed in ASIS mode, to preserve the source for analysis. 2017-01-13 Justin Squirek <squirek@adacore.com> * nlists.ads: Correct minor typo. From-SVN: r244411
Diffstat (limited to 'gcc/ada/nlists.ads')
-rw-r--r--gcc/ada/nlists.ads4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/nlists.ads b/gcc/ada/nlists.ads
index 1cdcee6..90d5e7e 100644
--- a/gcc/ada/nlists.ads
+++ b/gcc/ada/nlists.ads
@@ -302,13 +302,13 @@ package Nlists is
-- Like Prepend_List, but arguments are the other way round
procedure Prepend_New (Node : Node_Or_Entity_Id; To : in out List_Id);
- pragma Inline (Append_New);
+ pragma Inline (Prepend_New);
-- Prepends Node at the end of node list To. If To is non-existent list, a
-- list is created. Node must be a non-empty node that is not already a
-- member of a node list, and To must be a node list.
procedure Prepend_New_To (To : in out List_Id; Node : Node_Or_Entity_Id);
- pragma Inline (Append_New_To);
+ pragma Inline (Prepend_New_To);
-- Like Prepend_New, but the arguments are in reverse order
procedure Prepend_To