diff options
author | Matt Austern <austern@apple.com> | 2005-01-28 05:54:55 +0000 |
---|---|---|
committer | Matt Austern <austern@apple.com> | 2005-01-28 05:54:55 +0000 |
commit | 6a6818987a9ae6e2b6a2db579c4666509df54d09 (patch) | |
tree | bcd1aeedf2d7b6c2d3bf5c442d4d51244322f96c | |
parent | e84357f245676a6d7132435d18c9c45d967a2418 (diff) |
* objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
calling instantiate_pending_templates.
git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@94362 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 5d311f1ff00..377e1eaf801 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -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 diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 8fd6257915e..71748166efb 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -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 |