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
This commit is contained in:
Matt Austern 2005-01-28 05:54:55 +00:00 committed by Matt Austern
parent 046625fab2
commit 86a43457bf
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -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