Commit b7067a12 by Jason Merrill Committed by Jason Merrill

* method.c (synthesize_method): If at_eof, determine our linkage.

From-SVN: r15803
parent 4f6140be
Tue Sep 30 00:18:26 1997 Jason Merrill <jason@yorick.cygnus.com>
* method.c (synthesize_method): If at_eof, determine our linkage.
1997-09-29 Paul Eggert <eggert@twinsun.com>
* lex.c (real_yylex): Treat `$' just like `_', except issue a
......
......@@ -2177,6 +2177,9 @@ synthesize_method (fndecl)
int nested = (current_function_decl != NULL_TREE);
tree context = hack_decl_function_context (fndecl);
if (at_eof)
import_export_decl (fndecl);
if (! context)
push_to_top_level ();
else if (nested)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment