summaryrefslogtreecommitdiff
path: root/gcc/ada/sem_ch9.adb
diff options
context:
space:
mode:
authorcharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:48:32 +0000
committercharlet <charlet@138bc75d-0d04-0410-961f-82ee72b054a4>2013-01-02 09:48:32 +0000
commit1e3532e73baae205e2095dcc76d7209e357d6378 (patch)
treee35c582209499de18f5cd35aec0dd5eed3a5eae7 /gcc/ada/sem_ch9.adb
parentb174444efe53764279c7b2235ec5e7b6d111efdf (diff)
downloadgcc-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_ch9.adb')
-rw-r--r--gcc/ada/sem_ch9.adb32
1 files changed, 16 insertions, 16 deletions
diff --git a/gcc/ada/sem_ch9.adb b/gcc/ada/sem_ch9.adb
index 9b38f0072fb..16c011c5ad8 100644
--- a/gcc/ada/sem_ch9.adb
+++ b/gcc/ada/sem_ch9.adb
@@ -1062,9 +1062,9 @@ package body Sem_Ch9 is
and then Nkind (First (Else_Statements (N))) in N_Delay_Statement
then
Error_Msg_N
- ("suspicious form of conditional entry call?!", N);
+ ("suspicious form of conditional entry call??!", N);
Error_Msg_N
- ("\`SELECT OR` may be intended rather than `SELECT ELSE`!", N);
+ ("\`SELECT OR` may be intended rather than `SELECT ELSE`??!", N);
end if;
-- Postpone the analysis of the statements till expansion. Analyze only
@@ -1987,11 +1987,11 @@ package body Sem_Ch9 is
if Error_Msg_Sloc = No_Location then
Error_Msg_N
("objects of this type will violate " &
- "`No_Local_Protected_Objects`?", N);
+ "`No_Local_Protected_Objects`??", N);
else
Error_Msg_N
("objects of this type will violate " &
- "`No_Local_Protected_Objects`?#", N);
+ "`No_Local_Protected_Objects`#??", N);
end if;
end if;
@@ -2052,15 +2052,15 @@ package body Sem_Ch9 is
or else From_Aspect_Specification (Prio_Item)
then
Error_Msg_Name_1 := Chars (Identifier (Prio_Item));
- Error_Msg_NE ("?aspect% for & has no effect when Lock_Free" &
- " given", Prio_Item, Id);
+ Error_Msg_NE ("aspect% for & has no effect when Lock_Free" &
+ " given??", Prio_Item, Id);
-- Pragma case
else
Error_Msg_Name_1 := Pragma_Name (Prio_Item);
- Error_Msg_NE ("?pragma% for & has no effect when Lock_Free" &
- " given", Prio_Item, Id);
+ Error_Msg_NE ("pragma% for & has no effect when Lock_Free" &
+ " given??", Prio_Item, Id);
end if;
end if;
end;
@@ -2089,16 +2089,16 @@ package body Sem_Ch9 is
or else From_Aspect_Specification (Prio_Item))
and then Chars (Identifier (Prio_Item)) = Name_Priority
then
- Error_Msg_N ("?aspect Interrupt_Priority is preferred "
- & "in presence of handlers", Prio_Item);
+ Error_Msg_N ("aspect Interrupt_Priority is preferred "
+ & "in presence of handlers??", Prio_Item);
-- Pragma case
elsif Nkind (Prio_Item) = N_Pragma
and then Pragma_Name (Prio_Item) = Name_Priority
then
- Error_Msg_N ("?pragma Interrupt_Priority is preferred "
- & "in presence of handlers", Prio_Item);
+ Error_Msg_N ("pragma Interrupt_Priority is preferred "
+ & "in presence of handlers??", Prio_Item);
end if;
end if;
end;
@@ -2516,7 +2516,7 @@ package body Sem_Ch9 is
if Entity (EDN1) = Ent then
Error_Msg_Sloc := Sloc (Stm1);
Error_Msg_N
- ("?accept duplicates one on line#", Stm);
+ ("accept duplicates one on line#??", Stm);
exit;
end if;
end if;
@@ -2799,7 +2799,7 @@ package body Sem_Ch9 is
and then not Entry_Accepted (Ent)
and then Comes_From_Source (Ent)
then
- Error_Msg_NE ("no accept for entry &?", N, Ent);
+ Error_Msg_NE ("no accept for entry &??", N, Ent);
end if;
Next_Entity (Ent);
@@ -2923,10 +2923,10 @@ package body Sem_Ch9 is
if Error_Msg_Sloc = No_Location then
Error_Msg_N
- ("objects of this type will violate `No_Task_Hierarchy`?", N);
+ ("objects of this type will violate `No_Task_Hierarchy`??", N);
else
Error_Msg_N
- ("objects of this type will violate `No_Task_Hierarchy`?#", N);
+ ("objects of this type will violate `No_Task_Hierarchy`#??", N);
end if;
end if;