On Wed, Jan 20, 2016 at 06:52:48PM +0530, Prathamesh Kulkarni wrote:
> Thanks for the review, I have done the suggested changes in this
> version of the patch.
> Ok for trunk ?
Given that Joseph already approved substance of the patch, this is ok
(but you might want to correct a typo below), thanks.
> +/* We need to walk over decls with incomplete struct/union/enum types
> + after parsing the whole translation unit.
> + In finish_decl(), if the decl is static, has incomplete
> + struct/union/enum type, it is appened to incomplete_record_decls.
"appended"
> + In c_parser_translation_unit(), we iterate over incomplete_record_decls
> + and report error if any of the decls are still incomplete. */
Marek