summaryrefslogtreecommitdiff
path: root/gcc/ada/g-spipat.ads
diff options
context:
space:
mode:
authorRobert Dewar <dewar@adacore.com>2008-03-26 08:40:04 +0100
committerArnaud Charlet <charlet@gcc.gnu.org>2008-03-26 08:40:04 +0100
commit4e9f48a126a0812b87a7dba7dfcd11d441c48e80 (patch)
treee58d32f726e2d188319b9870aafdef0441e585b5 /gcc/ada/g-spipat.ads
parent944f7f28cdb3368b192412eee53cec7210cfe84f (diff)
downloadgcc-4e9f48a126a0812b87a7dba7dfcd11d441c48e80.tar.gz
g-pehage.adb, [...]: Replace Raise_Exception by "raise with" construct.
2008-03-26 Robert Dewar <dewar@adacore.com> * g-pehage.adb, g-regist.adb, g-spipat.ads, g-spipat.adb, s-asthan.adb, s-parint.adb, s-rpc.adb, s-stchop.adb: Replace Raise_Exception by "raise with" construct. From-SVN: r133568
Diffstat (limited to 'gcc/ada/g-spipat.ads')
-rw-r--r--gcc/ada/g-spipat.ads8
1 files changed, 7 insertions, 1 deletions
diff --git a/gcc/ada/g-spipat.ads b/gcc/ada/g-spipat.ads
index fd1281c8ce7..af4aed19f57 100644
--- a/gcc/ada/g-spipat.ads
+++ b/gcc/ada/g-spipat.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1997-2006, AdaCore --
+-- Copyright (C) 1997-2007, AdaCore --
-- --
-- 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- --
@@ -693,6 +693,12 @@ package GNAT.Spitbol.Patterns is
-- body, manage to interprete them properly as though they were indeed
-- in out parameters.
+ pragma Warnings (Off, VString_Var);
+ pragma Warnings (Off, Pattern_Var);
+ -- We turn off warnings for these two types so that when variables are used
+ -- as arguments in this context, warnings about them not being assigned in
+ -- the source program will be suppressed.
+
--------------------------------
-- Basic Pattern Construction --
--------------------------------