This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] ada: Do not accept any discriminant names surrounded by parenthesis


>     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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]