Commit 3a2cbef7 by Martin v. Löwis Committed by Martin v. Löwis

parse.y (condition): Convert VAR_DECL from reference to indirect reference.

	* parse.y (condition): Convert VAR_DECL from reference to indirect
	reference.

From-SVN: r23267
parent 8c368ee2
1998-10-23 Martin von Lwis <loewis@informatik.hu-berlin.de>
* parse.y (condition): Convert VAR_DECL from reference to indirect
reference.
1998-10-23 Andrew MacLeod <amacleod@cygnus.com>
* exception.cc (__cp_pop_exception): Free the original exception
......
......@@ -1021,7 +1021,7 @@ condition:
{
cp_finish_decl ($<ttype>6, $7, $4, 1, LOOKUP_ONLYCONVERTING);
resume_momentary ($<itype>5);
$$ = $<ttype>6;
$$ = convert_from_reference ($<ttype>6);
if (TREE_CODE (TREE_TYPE ($$)) == ARRAY_TYPE)
cp_error ("definition of array `%#D' in condition", $$);
}
......
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