expr.c (lookup_field): The same field can be found through two different interface.
2000-06-27 Alexandre Petit-Bianco <apbianco@cygnus.com> * expr.c (lookup_field): The same field can be found through two different interface. Don't declare it ambiguous in that case. From-SVN: r34793
This commit is contained in:
parent
c011e2ad8a
commit
18ee3d5edb
|
@ -1,3 +1,8 @@
|
|||
2000-06-27 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* expr.c (lookup_field): The same field can be found through two
|
||||
different interface. Don't declare it ambiguous in that case.
|
||||
|
||||
2000-06-27 Tom Tromey <tromey@cygnus.com>
|
||||
|
||||
* lex.c (java_lineterminator): Don't recognize \r after \n. If \r
|
||||
|
|
|
@ -1361,6 +1361,8 @@ lookup_field (typep, name)
|
|||
tree t = BINFO_TYPE (TREE_VEC_ELT (basetype_vec, i));
|
||||
if ((field = lookup_field (&t, name)))
|
||||
{
|
||||
if (save_field == field)
|
||||
continue;
|
||||
if (save_field == NULL_TREE)
|
||||
save_field = field;
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue