summaryrefslogtreecommitdiff
path: root/gcc/ada/styleg.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:42:27 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2006-02-15 09:42:27 +0000
commitfd49856f4e31b444e0d560fb06f58a2ef00c9662 (patch)
tree60971654468700fd58602c5c228eb29285ac9c3f /gcc/ada/styleg.ads
parent6027d4d3b80705b1f62796c6c4700727d97219df (diff)
downloadgcc-fd49856f4e31b444e0d560fb06f58a2ef00c9662.tar.gz
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) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@111081 138bc75d-0d04-0410-961f-82ee72b054a4
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