From 4f73f89c47d52ef4575a3a553bdc1440959465db Mon Sep 17 00:00:00 2001 From: Robert Dewar Date: Wed, 15 Feb 2006 10:42:27 +0100 Subject: par-ch6.adb, [...]: Implement -gnatyI switch (MODE_IN) 2006-02-13 Robert Dewar * 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 --- gcc/ada/styleg.adb | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'gcc/ada/styleg.adb') 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 -- ----------------- -- cgit v1.1