[Ada] Complain about missing -gnat2020 switch on iterator_filter
authorPiotr Trojanek <trojanek@adacore.com>
Wed, 25 Nov 2020 11:05:47 +0000 (12:05 +0100)
committerPierre-Marie de Rodat <derodat@adacore.com>
Tue, 15 Dec 2020 11:41:55 +0000 (06:41 -0500)
commit43852482cafa73da6408120722dcbe7ff6fd3ded
treebde6c210dc54638775fa08136f9f8a5b4743f029
parent320be7e2b4bcf78028c78b0c46f6757ee0597a6f
[Ada] Complain about missing -gnat2020 switch on iterator_filter

gcc/ada/

* par-ch5.adb (P_Loop_Parameter_Specification): Complain about
missing -gnat2020 switch.
(P_Iterator_Specification): Likewise.
gcc/ada/par-ch5.adb