summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch2.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-03 15:43:24 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2005-01-03 15:43:24 +0000
commit5e8a2a99d4a054068ff5ba4e6d9192e7c88546b6 (patch)
treecc56ad2870547da06116c5f927b552a16d94614f /gcc/ada/sem_ch2.adb
parent63740d1a0b295bd19f3e92ee45b817cc932b5c4a (diff)
downloadgcc-5e8a2a99d4a054068ff5ba4e6d9192e7c88546b6.tar.gz
* ug_words, gnat_ugn.texi: Added alpha-ivms transitioning section to
porting guide chapter (vms version). Revised doc title (removed "for native platforms") and subtitle. Add discussion on warning flag for obsolescent features. First we note that it applies to obsolete GNAT features, which was previously omitted. Second we contrast the behavior with that of the new Ada 2005 AI-368 restriction No_Obsolescent_Features. Preliminary rewriting of GNAT & libraries chapter in order to take into account default project locations & new project manager capabilities. * cstand.adb (Create_Operators): Clean up format and documentation of unary and binary operator result tables. No change in code, just reformatting and addition of comments. * errout.ads, gnatfind.adb, s-maccod.ads, sem.adb, sem_ch2.adb: Minor reformatting * atree.ads, elists.ads, lib.ads, namet.ads, nlists.ads, repinfo.ads, sinput.ads, stringt.ads, uintp.ads, urealp.ads: Minor clarification to comments for Tree_Read and Tree_Write. * exp_attr.ads: Minor reformatting. * comperr.adb (Compiler_Abort): Add specialized message for GAP versions. * exp_pakd.adb (Create_Packed_Array_Type): Add a guard to check whether the ancestor type is private, as may be the case with nested instantiations. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92852 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch2.adb')
-rw-r--r--gcc/ada/sem_ch2.adb3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch2.adb b/gcc/ada/sem_ch2.adb
index 0656bde1668..7015fbd2096 100644
--- a/gcc/ada/sem_ch2.adb
+++ b/gcc/ada/sem_ch2.adb
@@ -6,7 +6,7 @@
-- --
-- B o d y --
-- --
--- Copyright (C) 1992-2004, Free Software Foundation, Inc. --
+-- Copyright (C) 1992-2005, 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- --
@@ -41,7 +41,6 @@ package body Sem_Ch2 is
procedure Analyze_Character_Literal (N : Node_Id) is
begin
-
-- The type is eventually inherited from the context. If expansion
-- has already established the proper type, do not modify it.