diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2024-05-10 17:11:24 +0200 |
---|---|---|
committer | Marc Poulhiès <poulhies@adacore.com> | 2024-06-14 09:34:18 +0200 |
commit | 34935c45c6e13093f9e2c2b1bc36483818152e9c (patch) | |
tree | 0359fe1c3102d63a1cbb8835ce6278d30c91a343 /gcc/ada/doc/gnat_rm | |
parent | 02263316169d4299df24ef91b4d469d3a3d50220 (diff) | |
download | gcc-34935c45c6e13093f9e2c2b1bc36483818152e9c.zip gcc-34935c45c6e13093f9e2c2b1bc36483818152e9c.tar.gz gcc-34935c45c6e13093f9e2c2b1bc36483818152e9c.tar.bz2 |
ada: Minor tweaks to processing of Aggregate aspect
The main one is to give the error for Aggregate applied to array types from
Analyze_Aspects_At_Freeze_Point instead of Check_Aspect_At_Freeze_Point, as
for the other aspects. The message is also changed to be more direct.
gcc/ada/
* aspects.ads (Operational_Aspect): Alphabetize.
* sem_ch13.ads (Analyze_Aspects_At_Freeze_Point): Fix description.
* sem_ch13.adb (Analyze_Aspects_At_Freeze_Point) <Aggregate>: Give
the error for array types here instead of...
(Analyze_Aspect_Specifications) <Aggregate>: Adjust comment.
(Check_Aspect_At_Freeze_Point) <Aggregate>: ...here.
Diffstat (limited to 'gcc/ada/doc/gnat_rm')
0 files changed, 0 insertions, 0 deletions