aboutsummaryrefslogtreecommitdiff
path: root/gcc/ada/sem_elim.adb
diff options
context:
space:
mode:
authorPiotr Trojanek <trojanek@adacore.com>2020-12-23 19:01:17 +0100
committerPierre-Marie de Rodat <derodat@adacore.com>2021-05-03 05:28:24 -0400
commitadd27f7aceefe79fea82a0fbd05f521c2e6f43d4 (patch)
tree6506b58e16137f0f68cfb5237aac85af1394e140 /gcc/ada/sem_elim.adb
parent4d3106a137899f65f5a3df87cacc330ff79c3def (diff)
downloadgcc-add27f7aceefe79fea82a0fbd05f521c2e6f43d4.zip
gcc-add27f7aceefe79fea82a0fbd05f521c2e6f43d4.tar.gz
gcc-add27f7aceefe79fea82a0fbd05f521c2e6f43d4.tar.bz2
[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.
Diffstat (limited to 'gcc/ada/sem_elim.adb')
-rw-r--r--gcc/ada/sem_elim.adb2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/ada/sem_elim.adb b/gcc/ada/sem_elim.adb
index d693a8d..62e9fc0 100644
--- a/gcc/ada/sem_elim.adb
+++ b/gcc/ada/sem_elim.adb
@@ -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