[Ada] 'others' in conditional_expressions
authorBob Duff <duff@adacore.com>
Thu, 10 Oct 2019 15:24:01 +0000 (15:24 +0000)
committerPierre-Marie de Rodat <pmderodat@gcc.gnu.org>
Thu, 10 Oct 2019 15:24:01 +0000 (15:24 +0000)
commitf18344b78d624afadca4c13bcca99d3a159135ec
tree27068cb55425ff33c680533d0eea4acfae4b3f13
parenta096f12eae91f891ef17687a9c48fee3de0b2fdd
[Ada] 'others' in conditional_expressions

2019-10-10  Bob Duff  <duff@adacore.com>

gcc/ada/

* sem_aggr.adb (Resolve_Aggregate): Add missing cases in the
Others_Allowed => True case -- N_Case_Expression_Alternative and
N_If_Expression.  Use Nkind_In.
* atree.adb, atree.ads, sinfo.adb, sinfo.ads (Nkind_In): New
16-parameter version.

From-SVN: r276824
gcc/ada/ChangeLog
gcc/ada/atree.adb
gcc/ada/atree.ads
gcc/ada/sem_aggr.adb
gcc/ada/sinfo.adb
gcc/ada/sinfo.ads