diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 16:12:57 +0200 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2011-08-29 16:12:57 +0200 |
commit | 833eaa8a3dc786183340f972c6188cc188510d00 (patch) | |
tree | 50403ce926b555fa6853abac5dcba4c4fdd8c286 /gcc/ada/prj.adb | |
parent | 3a613a3621f796e5e8e21a6237caf60eaebcada0 (diff) | |
download | gcc-833eaa8a3dc786183340f972c6188cc188510d00.tar.gz |
[multiple changes]
2011-08-29 Robert Dewar <dewar@adacore.com>
* exp_ch5.adb, sem_ch3.adb, a-cihama.adb, a-cihama.ads, exp_ch7.adb,
sem_ch5.adb, a-ciorse.adb, a-ciorse.ads, sem_ch12.adb, a-cidlli.adb,
a-cidlli.ads, sem_util.adb, sem_res.adb, gnat1drv.adb, a-except.adb,
a-except.ads, a-except-2005.ads, sem_ch4.adb, exp_disp.adb,
exp_aggr.adb, sem_ch13.adb, par-ch3.adb: Minor reformatting.
2011-08-29 Tristan Gingold <gingold@adacore.com>
* s-auxdec-vms-alpha.adb: Add comments, remove some HT before labels.
2011-08-29 Vadim Godunko <godunko@adacore.com>
* s-parint.ads: Minor comment clarification.
2011-08-29 Vincent Celier <celier@adacore.com>
* prj.adb (Initialize): Make sure that new reserved words after Ada 95
may be used as identifiers.
2011-08-29 Ed Schonberg <schonberg@adacore.com>
* a-coinho.ads: Minor reformating.
From-SVN: r178239
Diffstat (limited to 'gcc/ada/prj.adb')
-rw-r--r-- | gcc/ada/prj.adb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/ada/prj.adb b/gcc/ada/prj.adb index 626b8eee0d7..796e601cada 100644 --- a/gcc/ada/prj.adb +++ b/gcc/ada/prj.adb @@ -24,6 +24,7 @@ ------------------------------------------------------------------------------ with Debug; +with Opt; with Osint; use Osint; with Output; use Output; with Prj.Attr; @@ -698,6 +699,11 @@ package body Prj is Prj.Attr.Initialize; + -- Make sure that new reserved words after Ada 95 may be used as + -- identifiers. + + Opt.Ada_Version := Opt.Ada_95; + Set_Name_Table_Byte (Name_Project, Token_Type'Pos (Tok_Project)); Set_Name_Table_Byte (Name_Extends, Token_Type'Pos (Tok_Extends)); Set_Name_Table_Byte (Name_External, Token_Type'Pos (Tok_External)); |