summaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2006-02-15 10:42:27 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2006-02-15 10:42:27 +0100
commit4f73f89c47d52ef4575a3a553bdc1440959465db (patch)
tree60971654468700fd58602c5c228eb29285ac9c3f /gcc/ada/styleg.ads
parent76346895e79e6849880261fbfc2cababb0382367 (diff)
downloadgcc-4f73f89c47d52ef4575a3a553bdc1440959465db.tar.gz
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.ads')
-rw-r--r--gcc/ada/styleg.ads7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ada/styleg.ads b/gcc/ada/styleg.ads
index 58c834ae1be..7a5b312091b 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