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.ads | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'gcc/ada/styleg.ads') diff --git a/gcc/ada/styleg.ads b/gcc/ada/styleg.ads index 58c834a..7a5b312 100644 --- a/gcc/ada/styleg.ads +++ b/gcc/ada/styleg.ads @@ -6,7 +6,7 @@ -- -- -- S p e c -- -- -- --- 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- -- @@ -143,6 +143,11 @@ package Styleg is -- Called after scanning a conditional expression that has at least one -- level of parentheses around the entire expression. + function Mode_In_Check return Boolean; + pragma Inline (Mode_In_Check); + -- Determines whether style checking is active and the Mode_In_Check is + -- set, forbidding the explicit use of mode IN. + procedure No_End_Name (Name : Node_Id); -- Called if an END is encountered where a name is allowed but not present. -- The parameter is the node whose name is the name that is permitted in -- cgit v1.1