From 8453782c2b508a3c18474bf6626f31ba3e21c968 Mon Sep 17 00:00:00 2001 From: charlet Date: Wed, 26 Mar 2008 07:40:04 +0000 Subject: 2008-03-26 Robert Dewar * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@133568 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ada/g-spipat.ads | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'gcc/ada/g-spipat.ads') 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 -- -------------------------------- -- cgit v1.2.1