diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-02-20 15:35:51 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2015-02-20 15:35:51 +0100 |
commit | 2290a0fec1ffaa96f33dcc79bef60ed3c00fd947 (patch) | |
tree | f3e1d72804902cd51a26badb810fb60cb7ebb953 /gcc/ada/errout.ads | |
parent | 67c0e6625c6ce7e235b1558f320d5f94b07a1393 (diff) | |
download | gcc-2290a0fec1ffaa96f33dcc79bef60ed3c00fd947.zip gcc-2290a0fec1ffaa96f33dcc79bef60ed3c00fd947.tar.gz gcc-2290a0fec1ffaa96f33dcc79bef60ed3c00fd947.tar.bz2 |
[multiple changes]
2015-02-20 Robert Dewar <dewar@adacore.com>
* errout.ads: Document replacement of Name_uPre/Post/Type_Invariant.
* erroutc.adb (Set_Msg_Str): Replace _xxx.
(Pre/Post/Type_Invariant) by xxx'Class.
* erroutc.ads (Set_Msg_Str): Replace _xxx.
(Pre/Post/Type_Invariant) by xxx'Class.
* sem_prag.adb (Fix_Error): Remove special casing of
Name_uType_Invariant.
(Analyze_Pre_Post_Condition_In_Decl_Part): Remove special casing of
Name_uPre and Name_uPost in aspect case (done in Errout now).
2015-02-20 Robert Dewar <dewar@adacore.com>
* g-alveop.adb: Minor style fixes.
2015-02-20 Robert Dewar <dewar@adacore.com>
* freeze.adb (Warn_Overlay): Guard against blow up with address
clause.
2015-02-20 Bob Duff <duff@adacore.com>
* exp_attr.adb (May_Be_External_Call): Remove this. There is no need
for the compiler to guess whether the call is internal or external --
it is always external.
(Expand_Access_To_Protected_Op): For P'Access, where P
is a protected subprogram, always create a pointer to the
External_Subprogram.
From-SVN: r220869
Diffstat (limited to 'gcc/ada/errout.ads')
-rw-r--r-- | gcc/ada/errout.ads | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/errout.ads b/gcc/ada/errout.ads index d02febe..f23bed3 100644 --- a/gcc/ada/errout.ads +++ b/gcc/ada/errout.ads @@ -139,12 +139,18 @@ package Errout is -- casing mode. Note: if a unit name ending with %b or %s is passed -- for this kind of insertion, this suffix is simply stripped. Use a -- unit name insertion ($) to process the suffix. + -- + -- Note: the special names _xxx (xxx = Pre/Post/Invariant) are changed + -- to insert the string xxx'Class into the message. -- Insertion character %% (Double percent: insert literal name) -- The character sequence %% acts as described above for %, except -- that the name is simply obtained with Get_Name_String and is not -- decoded or cased, it is inserted literally from the names table. -- A trailing %b or %s is not treated specially. + -- + -- Note: the special names _xxx (xxx = Pre/Post/Invariant) are changed + -- to insert the string xxx'Class into the message. -- Insertion character $ (Dollar: insert unit name from Names table) -- The character $ is treated similarly to %, except that the name is @@ -181,6 +187,9 @@ package Errout is -- Error_Msg_Qual_Level is non-zero, then the reference will include -- up to the given number of levels of qualification, using the scope -- chain. + -- + -- Note: the special names _xxx (xxx = Pre/Post/Invariant) are changed + -- to insert the string xxx'Class into the message. -- Insertion character # (Pound: insert line number reference) -- The character # is replaced by the string indicating the source |