summaryrefslogtreecommitdiff
path: root/gcc/ada/scn.ads
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-10 13:32:09 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2009-04-10 13:32:09 +0000
commit4d1f0a539a2391c823a85fd57fa853f351abc5cd (patch)
treea9617cffdcd3216494b5d8f6d2f2e270b9735a5a /gcc/ada/scn.ads
parent5c8b0ad4384f4bdc5c94070eeadab6ea16a879fa (diff)
downloadgcc-4d1f0a539a2391c823a85fd57fa853f351abc5cd.tar.gz
2009-04-10 Robert Dewar <dewar@adacore.com>
* mlib-tgt-specific-xi.adb: Minor reformatting 2009-04-10 Bob Duff <duff@adacore.com> * einfo.ads: Minor comment fixes 2009-04-10 Vincent Celier <celier@adacore.com> * snames.ads-tmpl: Remove names that are no longer used in the Project Manager. Mark specifically those that are used only in gprbuild 2009-04-10 Eric Botcazou <ebotcazou@adacore.com> * init.c: Adjust EH support code on Alpha/Tru64. 2009-04-10 Bob Duff <duff@adacore.com> * sem_ch6.adb (Process_PPCs): Add a call to the _Postconditions procedure on every path that could return implicitly (not via a return statement) from a procedure. 2009-04-10 Ed Schonberg <schonberg@adacore.com> * exp_ch9.adb (Build_Master_Entity): An extended return statement is a valid scope for a task declarations and therefore for a master id. 2009-04-10 Robert Dewar <dewar@adacore.com> * sem_aux.adb: Minor reformatting 2009-04-10 Vincent Celier <celier@adacore.com> * scn.adb (Obsolescent_Check_Flag): New Boolean flag, initialized to True. (Obsolescent_Check): Do nothing if Obsolescent_Check_Flag is False (Set_Obsolescent_Check): New procedure to change the value of Obsolescent_Check_Flag. * scn.ads (Set_Obsolescent_Check): New procedure to control Obsolescent_Check. * sinput-l.adb (Load_File): Do not check for pragma Restrictions on obsolescent features while preprocessing. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@145901 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/scn.ads')
-rw-r--r--gcc/ada/scn.ads5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/ada/scn.ads b/gcc/ada/scn.ads
index a236a2c111b..eb6be5ecaa4 100644
--- a/gcc/ada/scn.ads
+++ b/gcc/ada/scn.ads
@@ -6,7 +6,7 @@
-- --
-- S p e c --
-- --
--- Copyright (C) 1992-2007, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2008, 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- --
@@ -51,6 +51,9 @@ package Scn is
-- Called to handle pragma restrictions check for usage of obsolescent
-- character replacements during the scan.
+ procedure Set_Obsolescent_Check (Value : Boolean);
+ -- Activate or not obsolescent check
+
procedure Post_Scan;
pragma Inline (Post_Scan);
-- Create nodes for tokens: Char_Literal, Identifier, Real_Literal,