cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
authorMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 3 Sep 1998 19:54:02 +0000 (19:54 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Thu, 3 Sep 1998 19:54:02 +0000 (19:54 +0000)
* cp-tree.h (finish_globally_qualified_member_call_expr):
Rename to ...
(finish_qualified_call_expr).
* semantics.c: Likewise.
* parse.y (primary): Use it.
* method.c (hack_identifier): Remove redundant code.
* init.c (resolve_offset_ref): Call convert_from_reference to
  handle members of reference type.  Improve error recovery.

From-SVN: r22223

gcc/cp/parse.c

index fffd420..c73312c 100644 (file)
@@ -5407,11 +5407,11 @@ case 329:
     break;}
 case 330:
 #line 1494 "parse.y"
-{ yyval.ttype = finish_globally_qualified_member_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
+{ yyval.ttype = finish_qualified_call_expr (yyvsp[-3].ttype, yyvsp[-1].ttype); ;
     break;}
 case 331:
 #line 1496 "parse.y"
-{ yyval.ttype = finish_globally_qualified_member_call_expr (yyvsp[-1].ttype, NULL_TREE); ;
+{ yyval.ttype = finish_qualified_call_expr (yyvsp[-1].ttype, NULL_TREE); ;
     break;}
 case 332:
 #line 1498 "parse.y"