mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-04-17 15:31:05 +08:00
* decl.c (grokdeclarator): Return error_mark_node instead of NULL_TREE.
From-SVN: r113984
This commit is contained in:
parent
1ff3ac02b5
commit
ba5719d9cd
@ -1,3 +1,7 @@
|
||||
2006-05-22 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
|
||||
|
||||
* decl.c (grokdeclarator): Return error_mark_node instead of NULL_TREE.
|
||||
|
||||
2006-05-21 Mark Mitchell <mark@codesourcery.com>
|
||||
|
||||
PR c++/27210
|
||||
|
@ -8211,7 +8211,7 @@ grokdeclarator (const cp_declarator *declarator,
|
||||
sfk,
|
||||
funcdef_flag, template_count, in_namespace, attrlist);
|
||||
if (decl == NULL_TREE)
|
||||
return decl;
|
||||
return error_mark_node;
|
||||
#if 0
|
||||
/* This clobbers the attrs stored in `decl' from `attrlist'. */
|
||||
/* The decl and setting of decl_attr is also turned off. */
|
||||
|
Loading…
x
Reference in New Issue
Block a user