aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/scng.adb
diff options
context:
space:
mode:
authorArnaud Charlet <charlet@gcc.gnu.org>2013-07-08 10:03:04 +0200
committerArnaud Charlet <charlet@gcc.gnu.org>2013-07-08 10:03:04 +0200
commit6480338ae6d2350656b8c689df8af79c02ebc6be (patch)
treee12db41ef829263091fb89bb2c4d79d18700aaf4 /gcc/ada/scng.adb
parentaa0dfa7e4e1f1c36b22ddc30162bf2568e51633a (diff)
downloadgcc-6480338ae6d2350656b8c689df8af79c02ebc6be.zip
gcc-6480338ae6d2350656b8c689df8af79c02ebc6be.tar.gz
gcc-6480338ae6d2350656b8c689df8af79c02ebc6be.tar.bz2
[multiple changes]
2013-07-08 Robert Dewar <dewar@adacore.com> * par-prag.adb (Process_Restrictions_Or_Restriction_Warnings): Recognize SPARK_05 as synonym for SPARK in restrictions pragma. * restrict.ads, restrict.adb (SPARK_Hides): Table moved to body, only referenced there. * scng.adb, sem_ch3.adb, sem_ch4.adb, sem_ch5.adb, sem_ch8.adb, sem_res.adb, sem_util.adb: Use restriction SPARK_05 instead of SPARK. * snames.ads-tmpl (Name_No_Obsolescent_Features): New entry. 2013-07-08 Vincent Celier <celier@adacore.com> * gnatcmd.adb (Check_Files): Use a response file for gnatls when possible. From-SVN: r200764
Diffstat (limited to 'gcc/ada/scng.adb')
-rw-r--r--gcc/ada/scng.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/scng.adb b/gcc/ada/scng.adb
index e27c91d..e05d1d6 100644
--- a/gcc/ada/scng.adb
+++ b/gcc/ada/scng.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2012, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2013, 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- --
@@ -1796,7 +1796,7 @@ package body Scng is
-- If the SPARK restriction is set for this unit, then generate
-- a token Tok_SPARK_Hide for a SPARK HIDE directive.
- if Restriction_Check_Required (SPARK)
+ if Restriction_Check_Required (SPARK_05)
and then Source (Start_Of_Comment) = '#'
then
declare