Commit 33fd4f49 by Volker Reichelt Committed by Volker Reichelt

decl.c (grokdeclarator): Return NULL_TREE instead of 0.

	* decl.c (grokdeclarator): Return NULL_TREE instead of 0.
	* typeck.c (unary_complex_lvalue): Likewise.

From-SVN: r110933
parent ebf0088a
2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* decl.c (grokdeclarator): Return NULL_TREE instead of 0.
* typeck.c (unary_complex_lvalue): Likewise.
2006-02-13 Volker Reichelt <reichelt@igpm.rwth-aachen.de>
* lex.c (parse_strconst_pragma): Return error_mark_node instead of
"(tree)-1" to indicate failure. Simplify.
(handle_pragma_interface): Test for error_mark_node instead of
......
......@@ -6815,7 +6815,7 @@ grokdeclarator (const cp_declarator *declarator,
a function declarator. */
if (funcdef_flag && innermost_code != cdk_function)
return 0;
return NULL_TREE;
if (((dname && IDENTIFIER_OPNAME_P (dname)) || flags == TYPENAME_FLAG)
&& innermost_code != cdk_function
......
......@@ -4343,7 +4343,7 @@ unary_complex_lvalue (enum tree_code code, tree arg)
}
if (code != ADDR_EXPR)
return 0;
return NULL_TREE;
/* Handle (a = b) used as an "lvalue" for `&'. */
if (TREE_CODE (arg) == MODIFY_EXPR
......@@ -4384,7 +4384,7 @@ unary_complex_lvalue (enum tree_code code, tree arg)
}
/* Don't let anything else be handled specially. */
return 0;
return NULL_TREE;
}
/* Mark EXP saying that we need to be able to take the
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment