diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 10:56:53 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-11-19 10:56:53 +0000 |
commit | 25ba8eb38bbbc147d86796ff8db54c44252709f7 (patch) | |
tree | bd2bdeb5f19ff29203c41b2c8b4fd854bcaa43aa /gcc/ada/usage.adb | |
parent | 5245b786fc5507b712ad9dd5fc461962d269f78d (diff) | |
download | gcc-25ba8eb38bbbc147d86796ff8db54c44252709f7.tar.gz |
* errout.ads, errout.adb: (First_Sloc): New function
* par-ch5.adb (P_Condition): Check for redundant parens is now a style
check (-gnatyx) instead of being included as a redundant construct
warning.
* sem_ch6.adb: Change name Style_Check_Subprogram_Order to
Style_Check_Order_Subprograms.
* style.ads, styleg.ads, styleg.adb, styleg-c.adb, stylesw.ads,
stylesw.adb: Add Style_Check_Xtra_Parens
* usage.adb: Add line for -gnatyx (check extra parens)
* vms_data.ads: Add entry for STYLE_CHECKS=XTRA_PARENS => -gnatyx
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@90905 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/usage.adb')
-rw-r--r-- | gcc/ada/usage.adb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/ada/usage.adb b/gcc/ada/usage.adb index 3e5d0b818e9..44d8df730e7 100644 --- a/gcc/ada/usage.adb +++ b/gcc/ada/usage.adb @@ -445,6 +445,7 @@ begin Write_Line (" r check casing for identifier references"); Write_Line (" s check separate subprogram specs present"); Write_Line (" t check token separation rules"); + Write_Line (" x check extra parens around conditionals"); -- Lines for -gnatyN switch |