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 ChangeLog.
> + int plen;
Use size_t rather than int for this length.
> + plen = strlen(ada_specs_parent) + 1;
Missing space before '('.
> + strcpy(res, ada_specs_parent);
Likewise.
> + res [plen - 1] = '.';
Stray space before '['.
OK with those issues fixed.
--
Joseph S. Myers
[email protected]