diff options
author | Matt Austern <austern@apple.com> | 2005-01-28 05:54:55 +0000 |
---|---|---|
committer | Matt Austern <austern@gcc.gnu.org> | 2005-01-28 05:54:55 +0000 |
commit | 86a43457bf2d5035183bf5dda62c4fc336af06a4 (patch) | |
tree | bcd1aeedf2d7b6c2d3bf5c442d4d51244322f96c /gcc/objc/objc-act.c | |
parent | 046625fab2932bdc6827d9abdd895824dfbc80eb (diff) | |
download | gcc-86a43457bf2d5035183bf5dda62c4fc336af06a4.zip gcc-86a43457bf2d5035183bf5dda62c4fc336af06a4.tar.gz gcc-86a43457bf2d5035183bf5dda62c4fc336af06a4.tar.bz2 |
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
Diffstat (limited to 'gcc/objc/objc-act.c')
-rw-r--r-- | gcc/objc/objc-act.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 8fd6257..7174816 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 |