errout.ads, errout.adb: (First_Sloc): New function
authorArnaud Charlet <charlet@gcc.gnu.org>
Fri, 19 Nov 2004 10:56:53 +0000 (11:56 +0100)
committerArnaud Charlet <charlet@gcc.gnu.org>
Fri, 19 Nov 2004 10:56:53 +0000 (11:56 +0100)
commitbc202b70061a5e8765d537d4222b25284b24361a
treebd2bdeb5f19ff29203c41b2c8b4fd854bcaa43aa
parent1d571f3b00a155910504a2b219c77b839aebbb16
errout.ads, errout.adb: (First_Sloc): New function

* 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

From-SVN: r90905
gcc/ada/errout.adb
gcc/ada/errout.ads
gcc/ada/par-ch5.adb
gcc/ada/sem_ch6.adb
gcc/ada/style.ads
gcc/ada/styleg-c.adb
gcc/ada/styleg.adb
gcc/ada/styleg.ads
gcc/ada/stylesw.ads
gcc/ada/usage.adb
gcc/ada/vms_data.ads