]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
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 d5e34e916ad138ae66ac216374858011d6684b90..13df4f3a704253fdc158dc977598886054113895 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 18853d727297b7f76d526eb9fe50967469bae45f..6e06e8353ae1c9747eee3e993ccb84d29df74755 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