aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ada/sem_ch13.adb4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/ada/sem_ch13.adb b/gcc/ada/sem_ch13.adb
index 6f9fe73..593e6f8 100644
--- a/gcc/ada/sem_ch13.adb
+++ b/gcc/ada/sem_ch13.adb
@@ -11224,8 +11224,8 @@ package body Sem_Ch13 is
when Aspect_Aggregate =>
if Is_Array_Type (Entity (ASN)) then
Error_Msg_N
- ("aspect% can only be applied to non-array type",
- Identifier (ASN));
+ ("aspect& can only be applied to non-array type",
+ Ident);
end if;
Resolve_Aspect_Aggregate (Entity (ASN), Expression (ASN));
return;