aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch11.adb
diff options
context:
space:
mode:
authorYannick Moy <moy@adacore.com>2011-08-02 15:10:17 +0000
committerArnaud Charlet <charlet@gcc.gnu.org>2011-08-02 17:10:17 +0200
commit2ba431e53edd2d06e5040a585454680990935d9d (patch)
tree17782362e9211837a9f24856f0f7c0d5c803a897 /gcc/ada/sem_ch11.adb
parent0f85303509461f48131fcd3c34d1c159b6771dd1 (diff)
downloadgcc-2ba431e53edd2d06e5040a585454680990935d9d.zip
gcc-2ba431e53edd2d06e5040a585454680990935d9d.tar.gz
gcc-2ba431e53edd2d06e5040a585454680990935d9d.tar.bz2
sem_aggr.adb, [...]: cleanup of SPARK mode
2011-08-02 Yannick Moy <moy@adacore.com> * sem_aggr.adb, err_vars.ads, sem_ch3.adb, sem_ch5.adb, sem_ch9.adb, debug.adb, sem_util.adb, sem_res.adb, sem_attr.adb, gnat1drv.adb, errout.adb, errout.ads, exp_ch6.adb, sem_ch4.adb, restrict.adb, restrict.ads, sem_ch6.adb, sem_ch8.adb, sem_ch11.adb, opt.ads: cleanup of SPARK mode From-SVN: r177175
Diffstat (limited to 'gcc/ada/sem_ch11.adb')
-rw-r--r--gcc/ada/sem_ch11.adb6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sem_ch11.adb b/gcc/ada/sem_ch11.adb
index 26ac6d0..357b3f1 100644
--- a/gcc/ada/sem_ch11.adb
+++ b/gcc/ada/sem_ch11.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2010, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2011, 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- --
@@ -443,7 +443,7 @@ package body Sem_Ch11 is
P : Node_Id;
begin
- Check_Formal_Restriction ("raise statement is not allowed", N);
+ Check_SPARK_Restriction ("raise statement is not allowed", N);
Check_Unreachable_Code (N);
-- Check exception restrictions on the original source
@@ -610,7 +610,7 @@ package body Sem_Ch11 is
-- Start of processing for Analyze_Raise_xxx_Error
begin
- Check_Formal_Restriction ("raise statement is not allowed", N);
+ Check_SPARK_Restriction ("raise statement is not allowed", N);
if No (Etype (N)) then
Set_Etype (N, Standard_Void_Type);