Commit 18ee3d5e by Alexandre Petit-Bianco Committed by Alexandre Petit-Bianco

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
parent c011e2ad
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
......
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