* decl.c (grokdeclarator): Return error_mark_node instead of NULL_TREE.

From-SVN: r113984
This commit is contained in:
Volker Reichelt 2006-05-22 16:45:50 +00:00 committed by Volker Reichelt
parent 1ff3ac02b5
commit ba5719d9cd
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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. */