summaryrefslogtreecommitdiff
path: root/gcc/ada/sinfo.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-13 13:10:51 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-07-13 13:10:51 +0000
commit94ef14ded273ee194a771452c519e36409f46cb8 (patch)
tree21b7fb988944d375fd24f4c38f8b5ae527a24bca /gcc/ada/sinfo.adb
parent84173d6855b57b533267ca471cbb8fd7f598ced3 (diff)
downloadgcc-94ef14ded273ee194a771452c519e36409f46cb8.tar.gz
2009-07-13 Thomas Quinot <quinot@adacore.com>
* s-oscons-tmplt.c: Add comment. 2009-07-13 Robert Dewar <dewar@adacore.com> * sinfo.adb, sinfo.ads, sem_util.adb, atree.adb, atree.ads: Minor reformatting. Minor code reorganization (add 9 argument version of Nkind_In). * impunit.adb: Remove s-os_lib from list of system extensions. * sem_util.ads: Minor reformatting * output.adb: Add warnings off/on around System.OS_Lib. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149583 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sinfo.adb')
-rw-r--r--gcc/ada/sinfo.adb25
1 files changed, 25 insertions, 0 deletions
diff --git a/gcc/ada/sinfo.adb b/gcc/ada/sinfo.adb
index 073c79c851d..2ed3ad3ff85 100644
--- a/gcc/ada/sinfo.adb
+++ b/gcc/ada/sinfo.adb
@@ -5822,6 +5822,31 @@ package body Sinfo is
T = V8;
end Nkind_In;
+
+ function Nkind_In
+ (T : Node_Kind;
+ V1 : Node_Kind;
+ V2 : Node_Kind;
+ V3 : Node_Kind;
+ V4 : Node_Kind;
+ V5 : Node_Kind;
+ V6 : Node_Kind;
+ V7 : Node_Kind;
+ V8 : Node_Kind;
+ V9 : Node_Kind) return Boolean
+ is
+ begin
+ return T = V1 or else
+ T = V2 or else
+ T = V3 or else
+ T = V4 or else
+ T = V5 or else
+ T = V6 or else
+ T = V7 or else
+ T = V8 or else
+ T = V9;
+ end Nkind_In;
+
-----------------
-- Pragma_Name --
-----------------