[Ada] Fix typos in calls to Error_Msg_NE

gcc/ada/

	* sem_aggr.adb (Resolve_Record_Aggregate): Fix casing in error
	message.
	* sem_ch3.adb (Add_Internal_Interface_Entities): Fix unbalanced
	parens.
	* sem_elim.adb (Eliminate_Error_Msg): Add insertion character.
This commit is contained in:
Piotr Trojanek 2020-12-23 19:01:17 +01:00 committed by Pierre-Marie de Rodat
parent 4d3106a137
commit add27f7ace
3 changed files with 3 additions and 3 deletions

View file

@ -5031,7 +5031,7 @@ package body Sem_Aggr is
if Present (Get_Value (Component, Component_Associations (N))) then
Error_Msg_NE
("more than one value supplied for Component &", N, Component);
("more than one value supplied for component &", N, Component);
end if;
Next (Positional_Expr);

View file

@ -1777,7 +1777,7 @@ package body Sem_Ch3 is
elsif not Comes_From_Source (Prim) then
Error_Msg_NE
("&inherits non-conforming preconditions and must "
& "be overridden (RM 6.1.1 (10-16)",
& "be overridden (RM 6.1.1 (10-16))",
Parent (Tagged_Type), Prim);
end if;
end if;

View file

@ -783,7 +783,7 @@ package body Sem_Elim is
and then Is_Concurrent_Record_Type (Etype (First_Entity (E)))
then
Error_Msg_NE
("cannot reference eliminated protected subprogram", N, E);
("cannot reference eliminated protected subprogram&", N, E);
-- Otherwise should not fall through, entry should be in table