summaryrefslogtreecommitdiff
path: root/gcc/ada/restrict.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:56:53 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:56:53 +0000
commitcb97ae5c99eb4e54776fdd81334206e100f9c03a (patch)
tree879be21173429efea2e6377f4341e24c29907f6e /gcc/ada/restrict.adb
parent6e9f198b2afc4e354afdfad52756dac812e4795f (diff)
downloadgcc-cb97ae5c99eb4e54776fdd81334206e100f9c03a.tar.gz
2013-01-02 Robert Dewar <dewar@adacore.com>
* checks.adb, exp_ch4.adb, exp_ch6.adb, exp_ch7.adb, exp_ch9.adb, exp_disp.adb, exp_dist.adb, exp_intr.adb, exp_prag.adb, exp_util.adb, freeze.adb, gnat1drv.adb, inline.adb, layout.adb, lib-xref.adb, par-ch10.adb, par-labl.adb, par-load.adb, par-util.adb, restrict.adb, sem_ch13.adb, sem_ch4.adb, sem_ch6.adb, sem_dim.adb, sem_elab.adb, sem_res.adb, sem_warn.adb, sinput-l.adb: Add tags to warning messages. * sem_ch6.ads, warnsw.ads, opt.ads: Minor comment updates. 2013-01-02 Robert Dewar <dewar@adacore.com> * err_vars.ads: Minor comment fix. 2013-01-02 Ed Schonberg <schonberg@adacore.com> * sem_ch12.adb: Refine predicate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194787 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/restrict.adb')
-rw-r--r--gcc/ada/restrict.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/restrict.adb b/gcc/ada/restrict.adb
index 84e576be92d..d4acf1dd912 100644
--- a/gcc/ada/restrict.adb
+++ b/gcc/ada/restrict.adb
@@ -582,7 +582,7 @@ package body Restrict is
if No_Dependences.Table (J).Warn then
Error_Msg
- ("?violation of restriction `No_Dependence '='> &`#",
+ ("??violation of restriction `No_Dependence '='> &`#",
Sloc (Err));
else
Error_Msg
@@ -798,9 +798,9 @@ package body Restrict is
if Warn_On_Obsolescent_Feature then
Error_Msg_Name_1 := Old_Name;
- Error_Msg_N ("restriction identifier % is obsolescent?", N);
+ Error_Msg_N ("restriction identifier % is obsolescent?j?", N);
Error_Msg_Name_1 := New_Name;
- Error_Msg_N ("|use restriction identifier % instead", N);
+ Error_Msg_N ("|use restriction identifier % instead?j?", N);
end if;
return New_Name;
@@ -951,7 +951,7 @@ package body Restrict is
-- Set warning message if warning
if Restriction_Warnings (R) then
- Add_Char ('?');
+ Add_Str ("??");
-- If real violation (not warning), then mark it as non-serious unless
-- it is a violation of No_Finalization in which case we leave it as a
@@ -1012,7 +1012,7 @@ package body Restrict is
-- Set as warning if warning case
if Restriction_Warnings (R) then
- Add_Char ('?');
+ Add_Str ("??");
end if;
-- Set main message