summaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-11 10:55:15 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2014-06-11 10:55:15 +0000
commit1581f2d70893931e3240d5726d3be6fde1567606 (patch)
tree4b9620f7abc9d4d6fc9b39bd50a4d05c5aaf88c8 /gcc/ada/styleg.adb
parent7c1622f9a4113017ac37b0acda6786b6a29b3b75 (diff)
downloadgcc-1581f2d70893931e3240d5726d3be6fde1567606.tar.gz
2014-06-11 Robert Dewar <dewar@adacore.com>
* debug.adb: Add debug flag -gnatd.q. * erroutc.adb (Prescan_Message): Bomb if untagged warning with -gnatd.q set. * styleg.adb (Check_Xtra_Parens): Message should be a style message. * sem_aggr.adb, sem_ch3.adb, exp_ch9.adb, checks.adb, sem_prag.adb, par-endh.adb, eval_fat.adb, freeze.adb, sem_util.adb, sem_attr.adb, sem_elab.adb, sem_ch6.adb, sem_warn.adb, sem_cat.adb, sem_ch13.adb, lib-xref.adb: Add remaining warning tags. 2014-06-11 Ben Brosgol <brosgol@adacore.com> * gnat_rm.texi: Revised chapter on Implementation Defined Characteristics. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@211448 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/styleg.adb')
-rw-r--r--gcc/ada/styleg.adb10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/ada/styleg.adb b/gcc/ada/styleg.adb
index 0a1880f419e..c94759c7da0 100644
--- a/gcc/ada/styleg.adb
+++ b/gcc/ada/styleg.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2013, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2014, 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- --
@@ -1003,9 +1003,9 @@ package body Styleg is
-- Check_Then --
----------------
- -- In check if then layout mode (-gnatyi), we expect a THEN keyword
- -- to appear either on the same line as the IF, or on a separate line
- -- if the IF statement extends for more than one line.
+ -- In check if then layout mode (-gnatyi), we expect a THEN keyword to
+ -- appear either on the same line as the IF, or on a separate line if
+ -- the IF statement extends for more than one line.
procedure Check_Then (If_Loc : Source_Ptr) is
begin
@@ -1061,7 +1061,7 @@ package body Styleg is
begin
if Style_Check_Xtra_Parens then
Error_Msg -- CODEFIX
- ("redundant parentheses?", Loc);
+ ("(style) redundant parentheses", Loc);
end if;
end Check_Xtra_Parens;