diff options
author | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-01 06:23:38 +0000 |
---|---|---|
committer | mmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-03-01 06:23:38 +0000 |
commit | 1cbda81f8e1cb149b5d33d5a6a5f130fa47d2989 (patch) | |
tree | e77274084c964b945be48b1aca9470d858e2f686 /gcc/cp/name-lookup.h | |
parent | bf07033862a9ab3931894fbbd961a9c33b833ec5 (diff) | |
download | gcc-1cbda81f8e1cb149b5d33d5a6a5f130fa47d2989.tar.gz |
PR c++/14138
* name-lookup.h (push_scope): Change prototype.
* name-lookup.c (push_scope): Do not reenter the current class
scope.
* decl.c (grokfndecl): Check return code from push_scope before
calling pop_scope.
* decl2.c (check_classfn): Likewise.
* parser.c (cp_parser_conversion_function_id): Likewise.
(cp_parser_init_declarator): Likewise.
(cp_parser_direct_declarator): Likewise.
(cp_parser_class_specifier): Likewise.
(cp_parser_class_head): Likewise.
(cp_parser_lookup_name): Likewise.
(cp_parser_constructor_declarator_p): Likewise.
* pt.c (instantiate_class_template): Likewise.
(resolve_typename_type): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@78696 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/name-lookup.h')
-rw-r--r-- | gcc/cp/name-lookup.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/name-lookup.h b/gcc/cp/name-lookup.h index f9764fcfdec..83775752053 100644 --- a/gcc/cp/name-lookup.h +++ b/gcc/cp/name-lookup.h @@ -267,7 +267,7 @@ extern void pop_from_top_level (void); extern void pop_everything (void); extern void keep_next_level (bool); extern bool is_ancestor (tree, tree); -extern void push_scope (tree); +extern bool push_scope (tree); extern void pop_scope (tree); extern void push_namespace (tree); |