]> git.ipfire.org Git - thirdparty/gcc.git/commit
ada: Fix error message for Aggregate aspect
authorMarc Poulhiès <poulhies@adacore.com>
Wed, 8 Mar 2023 19:39:45 +0000 (20:39 +0100)
committerMarc Poulhiès <poulhies@adacore.com>
Thu, 25 May 2023 07:44:18 +0000 (09:44 +0200)
commitec48b99c24a422bf97af91e82203d23b69094e7c
tree9860c77ff9bb40254f566c6b9e6b6f44634921fc
parent14bf9f7bb7fe6176532414093f9a5084bbd41428
ada: Fix error message for Aggregate aspect

The error message was wrongly using % instead of & in the format string,
causing the displayed message to refer to incorrect names in some cases.

gcc/ada/

* sem_ch13.adb (Check_Aspect_At_Freeze_Point): fix format string,
use existing local Ident.
gcc/ada/sem_ch13.adb