diff options
author | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-28 05:54:55 +0000 |
---|---|---|
committer | austern <austern@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-01-28 05:54:55 +0000 |
commit | aac6b86af7708afb24e97daacecf0b4cada53c3d (patch) | |
tree | bcd1aeedf2d7b6c2d3bf5c442d4d51244322f96c /gcc/objc | |
parent | 270436f389c1c862f9e0a2f3b3b928f15d8b380d (diff) | |
download | gcc-aac6b86af7708afb24e97daacecf0b4cada53c3d.tar.gz |
* objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
calling instantiate_pending_templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94362 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-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 |