Commit 86a43457 by Matt Austern Committed by Matt Austern

objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before calling…

objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before calling instantiate_pending_templates.

        * objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
        calling instantiate_pending_templates.

From-SVN: r94362
parent 046625fa
2005-01-27 Matt Austern <austern@apple.com>
* objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
calling instantiate_pending_templates.
2005-01-26 Alexander Malmberg <alexander@malmberg.org>
PR objc/18862
......
......@@ -591,6 +591,7 @@ objc_finish_file (void)
#ifdef OBJCPLUS
/* We need to instantiate templates _before_ we emit ObjC metadata;
if we do not, some metadata (such as selectors) may go missing. */
at_eof = 1;
instantiate_pending_templates (0);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment