diff options
author | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-02 09:48:32 +0000 |
---|---|---|
committer | charlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-01-02 09:48:32 +0000 |
commit | 1e3532e73baae205e2095dcc76d7209e357d6378 (patch) | |
tree | e35c582209499de18f5cd35aec0dd5eed3a5eae7 /gcc/ada/sem_ch10.adb | |
parent | b174444efe53764279c7b2235ec5e7b6d111efdf (diff) | |
download | gcc-1e3532e73baae205e2095dcc76d7209e357d6378.tar.gz |
2013-01-02 Robert Dewar <dewar@adacore.com>
* errout.adb (Set_Msg_Insertion_Warning): Correct typo causing
tests to fail if insertion sequence is at end of message string.
* opt.ads: Minor comment fixes and additions.
* sem_ch7.adb, sem_ch8.adb, sem_ch9.adb, sem_ch10.adb, sem_ch11.adb,
sem_ch12.adb, sem_ch13.adb: Add tags to warning messages.
* sem_ch6.ads, sem_ch6.adb (Cannot_Inline): Deal with warning message
tags. Add tags to warning messages.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@194785 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ada/sem_ch10.adb')
-rw-r--r-- | gcc/ada/sem_ch10.adb | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gcc/ada/sem_ch10.adb b/gcc/ada/sem_ch10.adb index 19d749931b4..b55d064f7bb 100644 --- a/gcc/ada/sem_ch10.adb +++ b/gcc/ada/sem_ch10.adb @@ -556,7 +556,7 @@ package body Sem_Ch10 is Used_In_Spec) then Error_Msg_N -- CODEFIX - ("?redundant with clause in body", Clause); + ("redundant with clause in body??", Clause); end if; Used_In_Body := False; @@ -585,7 +585,7 @@ package body Sem_Ch10 is if Withed then Error_Msg_N -- CODEFIX - ("?redundant with clause", Clause); + ("redundant with clause??", Clause); end if; end; end if; @@ -1793,7 +1793,7 @@ package body Sem_Ch10 is Error_Msg_File_1 := Get_File_Name (Subunit_Name, Subunit => True); Error_Msg_N - ("subunit$$ in file{ not found?!!", N); + ("subunit$$ in file{ not found??!!", N); Subunits_Missing := True; end if; @@ -2513,30 +2513,30 @@ package body Sem_Ch10 is begin if U_Kind = Implementation_Unit then - Error_Msg_F ("& is an internal 'G'N'A'T unit?", Name (N)); + Error_Msg_F ("& is an internal 'G'N'A'T unit?i?", Name (N)); -- Add alternative name if available, otherwise issue a -- general warning message. if Error_Msg_Strlen /= 0 then - Error_Msg_F ("\use ""~"" instead", Name (N)); + Error_Msg_F ("\use ""~"" instead?i?", Name (N)); else Error_Msg_F ("\use of this unit is non-portable " & - "and version-dependent?", Name (N)); + "and version-dependent?i?", Name (N)); end if; elsif U_Kind = Ada_2005_Unit and then Ada_Version < Ada_2005 and then Warn_On_Ada_2005_Compatibility then - Error_Msg_N ("& is an Ada 2005 unit?", Name (N)); + Error_Msg_N ("& is an Ada 2005 unit?i?", Name (N)); elsif U_Kind = Ada_2012_Unit and then Ada_Version < Ada_2012 and then Warn_On_Ada_2012_Compatibility then - Error_Msg_N ("& is an Ada 2012 unit?", Name (N)); + Error_Msg_N ("& is an Ada 2012 unit?i?", Name (N)); end if; end; end if; @@ -3342,7 +3342,7 @@ package body Sem_Ch10 is procedure License_Error is begin Error_Msg_N - ("?license of withed unit & may be inconsistent", + ("license of withed unit & may be inconsistent??", Name (Item)); end License_Error; @@ -4129,7 +4129,7 @@ package body Sem_Ch10 is then Error_Msg_NE ("child unit& hides compilation unit " & - "with the same name?", + "with the same name??", Name (Item), Id); exit; end if; |