OSDN Git Service

* objc-act.c (objc_finish_file): In ObjC++ mode, set at_eof before
authoraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jan 2005 05:54:55 +0000 (05:54 +0000)
committeraustern <austern@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 28 Jan 2005 05:54:55 +0000 (05:54 +0000)
        calling instantiate_pending_templates.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@94362 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/objc/ChangeLog
gcc/objc/objc-act.c

index 5d311f1..377e1ea 100644 (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
index 8fd6257..7174816 100644 (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