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
This commit is contained in:
parent
8c368ee218
commit
3a2cbef7a4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
1998-10-23 Martin von Löwis <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", $$);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue