+2002-01-02 Richard Henderson <rth@redhat.com>
+
+ * objc/objc-act.c (hack_method_prototype): Clear current_function_decl
+ after abusing it.
+
2002-01-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* gcc.c (default_compilers): Const-ify.
/* Implement classes and message passing for Objective C.
- Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001
+ Copyright (C) 1992, 1993, 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002
Free Software Foundation, Inc.
Contributed by Steve Naroff.
/* Usually called from store_parm_decls -> init_function_start. */
DECL_ARGUMENTS (tmp_decl) = TREE_PURPOSE (parms);
+
+ if (current_function_decl)
+ abort ();
current_function_decl = tmp_decl;
{
/* install return type */
TREE_TYPE (TREE_TYPE (tmp_decl)) = groktypename (TREE_TYPE (nst_methods));
+ current_function_decl = NULL;
}
static void