c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.

2010-01-03  Jerry Quinn  <jlquinn@optonline.net>

	* doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR.  Update
	description of expression operand.

From-SVN: r155604
This commit is contained in:
Jerry Quinn 2010-01-04 05:48:07 +00:00 committed by Jerry Quinn
parent ab1c1187c3
commit f426215536
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2010-01-03 Jerry Quinn <jlquinn@optonline.net>
* doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update
description of expression operand.
2010-01-03 Andrew Jenner <andrew@codesourcery.com>
* configure.ac: Add install-html to target_list for Make-hooks.

View File

@ -1802,11 +1802,13 @@ statement can be obtained with the @code{LABEL_EXPR_LABEL} macro. The
@code{IDENTIFIER_NODE} giving the name of the label can be obtained from
the @code{LABEL_DECL} with @code{DECL_NAME}.
@item RETURN_STMT
@item RETURN_EXPR
Used to represent a @code{return} statement. The @code{RETURN_EXPR} is
the expression returned; it will be @code{NULL_TREE} if the statement
was just
Used to represent a @code{return} statement. Operand 0 represents the
value to return. It should either be the @code{RESULT_DECL} for the
containing function, or a @code{MODIFY_EXPR} or @code{INIT_EXPR}
setting the function's @code{RESULT_DECL}. It will be
@code{NULL_TREE} if the statement was just
@smallexample
return;
@end smallexample