sem_eval.adb: Give a more precise error message.
authorSamuel Tardieu <sam@rfc1149.net>
Sat, 10 Oct 2009 14:52:18 +0000 (14:52 +0000)
committerSamuel Tardieu <sam@gcc.gnu.org>
Sat, 10 Oct 2009 14:52:18 +0000 (14:52 +0000)
    gcc/ada/
* sem_eval.adb: Give a more precise error message.

From-SVN: r152619

gcc/ada/ChangeLog
gcc/ada/sem_eval.adb

index d5e34e9..13df4f3 100644 (file)
@@ -1,3 +1,7 @@
+2009-10-10  Samuel Tardieu  <sam@rfc1149.net>
+
+       * sem_eval.adb: Give a more precise error message.
+
 2009-10-06  Samuel Tardieu  <sam@rfc1149.net>
 
        PR ada/41383
index 18853d7..6e06e83 100644 (file)
@@ -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