diff options
author | Robert Dewar <dewar@adacore.com> | 2006-02-15 10:42:27 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2006-02-15 10:42:27 +0100 |
commit | 4f73f89c47d52ef4575a3a553bdc1440959465db (patch) | |
tree | 60971654468700fd58602c5c228eb29285ac9c3f /gcc/ada/styleg.adb | |
parent | 76346895e79e6849880261fbfc2cababb0382367 (diff) | |
download | gcc-4f73f89c47d52ef4575a3a553bdc1440959465db.zip gcc-4f73f89c47d52ef4575a3a553bdc1440959465db.tar.gz gcc-4f73f89c47d52ef4575a3a553bdc1440959465db.tar.bz2 |
par-ch6.adb, [...]: Implement -gnatyI switch (MODE_IN)
2006-02-13 Robert Dewar <dewar@adacore.com>
* par-ch6.adb, style.ads, styleg.adb, styleg.ads, stylesw.adb,
stylesw.ads, usage.adb, vms_data.ads: Implement -gnatyI switch
(MODE_IN)
From-SVN: r111081
Diffstat (limited to 'gcc/ada/styleg.adb')
-rw-r--r-- | gcc/ada/styleg.adb | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ada/styleg.adb b/gcc/ada/styleg.adb index 04c3484..381b39d 100644 --- a/gcc/ada/styleg.adb +++ b/gcc/ada/styleg.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1992-2005 Free Software Foundation, Inc. -- +-- Copyright (C) 1992-2006, 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- -- @@ -794,6 +794,15 @@ package body Styleg is return C = ' ' or else C = HT; end Is_White_Space; + ------------------- + -- Mode_In_Check -- + ------------------- + + function Mode_In_Check return Boolean is + begin + return Style_Check and Style_Check_Mode_In; + end Mode_In_Check; + ----------------- -- No_End_Name -- ----------------- |