* c-exp.y (classify_name): Avoid assignment in condition.
This commit is contained in:
parent
84552b164d
commit
826f00411d
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
2012-07-27 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
* c-exp.y (classify_name): Avoid assignment in condition.
|
||||
|
||||
2012-07-27 Roland Schwingel <roland.schwingel@onevision.com>
|
||||
|
||||
* amd64-windows-tdep.c: Include "frame.h".
|
||||
|
|
|
@ -2747,8 +2747,8 @@ classify_name (struct block *block)
|
|||
if (Class)
|
||||
{
|
||||
yylval.class.class = Class;
|
||||
if ((sym = lookup_struct_typedef (copy, expression_context_block,
|
||||
1)))
|
||||
sym = lookup_struct_typedef (copy, expression_context_block, 1);
|
||||
if (sym)
|
||||
yylval.class.type = SYMBOL_TYPE (sym);
|
||||
return CLASSNAME;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue