diff options
author | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-01-29 15:17:44 +0100 |
---|---|---|
committer | Arnaud Charlet <charlet@gcc.gnu.org> | 2013-01-29 15:17:44 +0100 |
commit | 54bb89caeab2b2ce71f935e2f290fa1402942529 (patch) | |
tree | 850467042bd51bffbc744a59d1dd82611e2d195f /gcc/ada/gnatcmd.adb | |
parent | 2808600b9f513ee8d428823cd1726a0d5fed004c (diff) | |
download | gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.zip gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.tar.gz gcc-54bb89caeab2b2ce71f935e2f290fa1402942529.tar.bz2 |
[multiple changes]
2013-01-29 Robert Dewar <dewar@adacore.com>
* a-calend-vms.adb: Minor comment fix.
2013-01-29 Robert Dewar <dewar@adacore.com>
* mlib-utl.adb, gnatlink.adb: Avoid reference to ASCII.Back_Slash
because of casing issues.
* sem_util.ads: Minor comment fix.
* style.adb (Check_Identifier): Set proper casing for entities
in ASCII.
* styleg.adb: Minor comment improvement.
* stylesw.ads (Style_Check_Standard): Fix bad comments.
2013-01-29 Hristian Kirtchev <kirtchev@adacore.com>
* sem_prag.adb: Add the grammar for pragmas Abstract_State and Global.
(Analyze_Pragma): Push the scope of the related subprogram and install
its formals once before starting the analysis of the [moded] global
list.
2013-01-29 Pascal Obry <obry@adacore.com>
* prj-proc.adb (Process_Expression_Variable_Decl): Always handle
relative paths in Project_Path as relative to the aggregate
project location. Note that this was what was documented.
2013-01-29 Vincent Celier <celier@adacore.com>
* gnatcmd.adb: For "gnat stub -P ...", do not check the naming
scheme for Ada, when Ada is not a language for the project.
From-SVN: r195539
Diffstat (limited to 'gcc/ada/gnatcmd.adb')
-rw-r--r-- | gcc/ada/gnatcmd.adb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/ada/gnatcmd.adb b/gcc/ada/gnatcmd.adb index ce690e5..4581b2c 100644 --- a/gcc/ada/gnatcmd.adb +++ b/gcc/ada/gnatcmd.adb @@ -6,7 +6,7 @@ -- -- -- B o d y -- -- -- --- Copyright (C) 1996-2012, Free Software Foundation, Inc. -- +-- Copyright (C) 1996-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- -- @@ -2477,7 +2477,9 @@ begin -- the file name ends with the spec suffix, then indicate to -- gnatstub the name of the body file with a -o switch. - if not Is_Standard_GNAT_Naming (Lang.Config.Naming_Data) then + if Lang /= No_Language_Index + and then not Is_Standard_GNAT_Naming (Lang.Config.Naming_Data) + then if File_Index /= 0 then declare Spec : constant String := |