This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH] ada: more precise error message
- From: Samuel Tardieu <sam at rfc1149 dot net>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Samuel Tardieu <sam at rfc1149 dot net>
- Date: Sat, 10 Oct 2009 14:52:02 +0200
- Subject: [PATCH] ada: more precise error message
This change has been suggested by Ludovic Brenta.
Ok for trunk?
gcc/ada
* sem_eval.adb: Give a more precise error message.
---
gcc/ada/sem_eval.adb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gcc/ada/sem_eval.adb b/gcc/ada/sem_eval.adb
index 18853d7..6e06e83 100644
--- a/gcc/ada/sem_eval.adb
+++ b/gcc/ada/sem_eval.adb
@@ -5018,7 +5018,7 @@ package body Sem_Eval is
if Attribute_Name (N) = Name_Size then
Error_Msg_N
- ("size attribute is only static for scalar type " &
+ ("size attribute is only static for static scalar type " &
"(RM 4.9(7,8))", N);
-- Flag array cases
--
tg: (5297bed..) enh/static-message (depends on: origin/trunk)