summaryrefslogtreecommitdiff
path: root/gcc/ada/stylesw.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 12:28:57 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-09 12:28:57 +0000
commitecf90fb4702994501e53c60872210ff6acefff5a (patch)
treefefb527cc5b46391416be1e51e34a5cba5b99c02 /gcc/ada/stylesw.adb
parent2eabe08b3c66326a8ed87e91ca20ac46f66c5a1f (diff)
downloadgcc-ecf90fb4702994501e53c60872210ff6acefff5a.tar.gz
2009-04-09 Vincent Celier <celier@adacore.com>
* errout.adb: Remove dependency on package Style * style.ads, styleg.adb, styleg.ads (RM_Column_Check): Remove function, moved to Stylesw. * stylesw.ads, stylesw.adb (RM_Column_Check): New function, moved from Styleg. * errutil.adb, par.adb: Import Stylesw 2009-04-09 Arnaud Charlet <charlet@adacore.com> * opt.ads: Fix typos. 2009-04-09 Robert Dewar <dewar@adacore.com> * einfo.adb: Minor reformatting git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145832 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/stylesw.adb')
-rw-r--r--gcc/ada/stylesw.adb9
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ada/stylesw.adb b/gcc/ada/stylesw.adb
index 764d9af80e9..8adb7416a76 100644
--- a/gcc/ada/stylesw.adb
+++ b/gcc/ada/stylesw.adb
@@ -61,6 +61,15 @@ package body Stylesw is
Style_Check_Xtra_Parens := False;
end Reset_Style_Check_Options;
+ ---------------------
+ -- RM_Column_Check --
+ ---------------------
+
+ function RM_Column_Check return Boolean is
+ begin
+ return Style_Check and Style_Check_Layout;
+ end RM_Column_Check;
+
------------------------------
-- Save_Style_Check_Options --
------------------------------