* decl.c (maybe_push_to_top_level): Always call
push_cp_function_context.
(pop_from_top_level): Always call pop_cp_function_context.
From-SVN: r25553
+1999-03-02 Mark Mitchell <mark@markmitchell.com>
+
+ * decl.c (maybe_push_to_top_level): Always call
+ push_cp_function_context.
+ (pop_from_top_level): Always call pop_cp_function_context.
+
1999-02-26 Nathan Sidwell <nathan@acm.org>
* typeck.c (complete_type_or_else): Add VALUE arg, for helpful
struct binding_level *b = inner_binding_level;
tree old_bindings = NULL_TREE;
- if (current_function_decl)
- push_cp_function_context (NULL_TREE);
+ push_cp_function_context (NULL_TREE);
if (previous_class_type)
old_bindings = store_bindings (previous_class_values, old_bindings);
free (s);
- if (current_function_decl)
- pop_cp_function_context (NULL_TREE);
+ pop_cp_function_context (NULL_TREE);
}
\f
/* Push a definition of struct, union or enum tag "name".