]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[Ada] Fix use of single question mark in error message
authorGhjuvan Lacambre <lacambre@adacore.com>
Wed, 26 May 2021 16:02:34 +0000 (18:02 +0200)
committerPierre-Marie de Rodat <derodat@adacore.com>
Thu, 8 Jul 2021 13:34:19 +0000 (13:34 +0000)
gcc/ada/

* exp_prag.adb (Expand_Pragma_Inspection_Point): Fix error
message.

gcc/ada/exp_prag.adb

index f686395a9ef3fea5cec58300f3331eb87fea4886..43ecdcdd333a18c4959c72749f408321c72f2406 100644 (file)
@@ -2413,7 +2413,7 @@ package body Exp_Prag is
          if Present (Freeze_Node (Entity (Expression (Assoc)))) and then
            not Is_Frozen (Entity (Expression (Assoc)))
          then
-            Error_Msg_NE ("?inspection point references unfrozen object &",
+            Error_Msg_NE ("??inspection point references unfrozen object &",
               Assoc,
               Entity (Expression (Assoc)));
             Remove_Inspection_Point := True;