summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_eval.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-11 09:34:38 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-04-11 09:34:38 +0000
commit77dcefcce875cc94a055d904c380a240ea569d7a (patch)
treec6a67e5823b05f4b5240ea682c04450ce56d2362 /gcc/ada/sem_eval.ads
parent8fa4b2980bd08af799e33bf24d06714e5a558d3d (diff)
downloadgcc-77dcefcce875cc94a055d904c380a240ea569d7a.tar.gz
2013-04-11 Robert Dewar <dewar@adacore.com>
* errout.ads: Minor reformatting. * sem_eval.adb (Why_Not_Static): Now issues continuation messages (Why_Not_Static): Test for aggregates behind string literals. * sem_eval.ads (Why_Not_Static): Now issues continuation messages. 2013-04-11 Robert Dewar <dewar@adacore.com> * exp_ch4.adb (Expand_Concatenation): Wrap expansion in Expressions_With_Actions. 2013-04-11 Ed Schonberg <schonberg@adacore.com> * sem_ch6.adb (Base_Types_Match): For an actual type in an instance, the base type may itself be a subtype, so find true base type to determine compatibility. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197745 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_eval.ads')
-rw-r--r--gcc/ada/sem_eval.ads24
1 files changed, 12 insertions, 12 deletions
diff --git a/gcc/ada/sem_eval.ads b/gcc/ada/sem_eval.ads
index 06607d77897..66a9e3ecc65 100644
--- a/gcc/ada/sem_eval.ads
+++ b/gcc/ada/sem_eval.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
-- --
-- GNAT is free software; you can redistribute it and/or modify it under --
-- terms of the GNU General Public License as published by the Free Soft- --
@@ -417,17 +417,17 @@ package Sem_Eval is
procedure Why_Not_Static (Expr : Node_Id);
-- This procedure may be called after generating an error message that
- -- complains that something is non-static. If it finds good reasons, it
- -- generates one or more error messages pointing the appropriate offending
- -- component of the expression. If no good reasons can be figured out, then
- -- no messages are generated. The expectation here is that the caller has
- -- already issued a message complaining that the expression is non-static.
- -- Note that this message should be placed using Error_Msg_F or
- -- Error_Msg_FE, so that it will sort before any messages placed by this
- -- call. Note that it is fine to call Why_Not_Static with something that is
- -- not an expression, and usually this has no effect, but in some cases
- -- (N_Parameter_Association or N_Range), it makes sense for the internal
- -- recursive calls.
+ -- complains that something is non-static. If it finds good reasons,
+ -- it generates one or more continuation error messages pointing the
+ -- appropriate offending component of the expression. If no good reasons
+ -- can be figured out, then no messages are generated. The expectation here
+ -- is that the caller has already issued a message complaining that the
+ -- expression is non-static. Note that this message should be placed using
+ -- Error_Msg_F or Error_Msg_FE, so that it will sort before any messages
+ -- placed by this call. Note that it is fine to call Why_Not_Static with
+ -- something that is not an expression, and usually this has no effect, but
+ -- in some cases (N_Parameter_Association or N_Range), it makes sense for
+ -- the internal recursive calls.
procedure Initialize;
-- Initializes the internal data structures. Must be called before each