Re: [PATCH] New command line switch -fada-spec-parent

2012-09-07 Thread Joseph S. Myers
On Fri, 7 Sep 2012, Thomas Quinot wrote: > * c-family/c.opt (-fada-spec-parent): Define new command line switch. > * c-family/c-ada-spec.c (get_ada_package): When -fada-spec-parent > is specified, generate binding spec as a child of the specified unit. c-family has its own

Re: [PATCH] New command line switch -fada-spec-parent

2012-09-07 Thread Thomas Quinot
* Steven Bosscher, 2012-08-24 : > Why here instead of in c-family/c.opt? Good point. Here is a new version of the patch: * c-family/c.opt (-fada-spec-parent): Define new command line switch. * c-family/c-ada-spec.c (get_ada_package): When -fada-spec-parent is specified, g

Re: [PATCH] New command line switch -fada-spec-parent

2012-08-31 Thread Thomas Quinot
* Steven Bosscher, 2012-08-24 : > > * common.opt (-fada-spec-parent): Define new command line switch. > Why here instead of in c-family/c.opt? Makes sense indeed, I'll move the definition there. -- Thomas Quinot, Ph.D. ** qui...@adacore.com ** Senior Software Engineer Ada

Re: [PATCH] New command line switch -fada-spec-parent

2012-08-24 Thread Steven Bosscher
On Fri, Aug 24, 2012 at 6:33 PM, Thomas Quinot wrote: > * common.opt (-fada-spec-parent): Define new command line switch. Why here instead of in c-family/c.opt? Ciao! Steven

[PATCH] New command line switch -fada-spec-parent

2012-08-24 Thread Thomas Quinot
The following proposed change adds a new command line switch -fada-spec-parent allowing the user to specify a parent unit for all units generated by -fdump-ada-spec. * common.opt (-fada-spec-parent): Define new command line switch. * c-family/c-ada-spec.c (get_ada_package): When -f