This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] ada: Do not accept any discriminant names surrounded by parenthesis
- From: Arnaud Charlet <charlet at adacore dot com>
- To: Samuel Tardieu <sam at rfc1149 dot net>
- Cc: gcc-patches at gcc dot gnu dot org, Robert A Duff <duff at adacore dot com>
- Date: Wed, 28 Nov 2007 15:28:00 +0100
- Subject: Re: [PATCH] ada: Do not accept any discriminant names surrounded by parenthesis
- References: <20071127092832.8B424C405E@mail2.rfc1149.net>
> gcc/ada/
> PR ada/15803
> * par-ch3.adb (P_Variant_Part): Signal an error when anything other
> than an identifier is used after "case" in a variant_part.
>
> gcc/testsuite/
> PR ada/15803
> * gnat.dg/specs/variant_part.ads: New test.
Patch looks correct.
Minor nit: "parenthesis" should be "parentheses" in two places in the comment.
Arno