aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/stylesw.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2007-06-06 12:49:42 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2007-06-06 12:49:42 +0200
commit94a198aa8e1912693dd8999d298865db6d4971ce (patch)
treec2ec4cdeaf3fc8092e453c3306491d7cc670b4e1 /gcc/ada/stylesw.ads
parentc2a49ce6276acab7961cc99b9692f77181721ecd (diff)
downloadgcc-94a198aa8e1912693dd8999d298865db6d4971ce.zip
gcc-94a198aa8e1912693dd8999d298865db6d4971ce.tar.gz
gcc-94a198aa8e1912693dd8999d298865db6d4971ce.tar.bz2
stylesw.ads, [...] (Set_GNAT_Style_Check): New procedure
2007-04-20 Robert Dewar <dewar@adacore.com> * stylesw.ads, stylesw.adb (Set_GNAT_Style_Check): New procedure (Set_Style_Check_Options): Recognize new -gnatyg style switch * switch-c.adb (Scan_Front_End_Switches, case -gnatg): Set Warn_On_Non_Local_Exception to False, to turn off warnings for No_Exception_Propagation in ZFP runtime. (Scan_Front_End_Switches): Fix handling of --RTS switch for non GCC back-ends. (Scan_Front_End_Switches): For 'g', call Set_GNAT_Style_Checks From-SVN: r125469
Diffstat (limited to 'gcc/ada/stylesw.ads')
-rw-r--r--gcc/ada/stylesw.ads4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/ada/stylesw.ads b/gcc/ada/stylesw.ads
index 85b8230..284b59d 100644
--- a/gcc/ada/stylesw.ads
+++ b/gcc/ada/stylesw.ads
@@ -264,6 +264,10 @@ package Stylesw is
-- This procedure is called to set the default style checking options
-- in response to a -gnaty switch with no suboptions.
+ procedure Set_GNAT_Style_Check_Options;
+ -- This procedure is called to set the default style checking options
+ -- for GNAT units (as set by -gnatg or -gnatyg).
+
Style_Msg_Buf : String (1 .. 80);
Style_Msg_Len : Natural;
-- Used to return