]> gcc.gnu.org Git - gcc.git/commit
[Ada] Improve message on missing all/for in pre-Ada-2022 modes
authorBob Duff <duff@adacore.com>
Thu, 9 Sep 2021 16:24:32 +0000 (12:24 -0400)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 5 Oct 2021 08:20:01 +0000 (08:20 +0000)
commit439dae60ebf25ad432e9a654d10e10581771713a
tree68153c62775994bdba552c6130398133108f72c9
parentf88db1839a2492645c894946b24311cf592fd0fc
[Ada] Improve message on missing all/for in pre-Ada-2022 modes

gcc/ada/

* par-ch4.adb (P_Iterated_Component_Association): Parse these
features the same way in all language versions.  Move the call
to Error_Msg_Ada_2022_Feature into semantic analysis.
* sem_aggr.adb (Resolve_Iterated_Component_Association,
Resolve_Iterated_Association): Move the call to
Error_Msg_Ada_2022_Feature here from par-ch4.adb.
gcc/ada/par-ch4.adb
gcc/ada/sem_aggr.adb
This page took 0.059165 seconds and 5 git commands to generate.