mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-12 09:34:45 +08:00
cp-tree.h (finish_globally_qualified_member_call_expr): Rename to ...
* 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
This commit is contained in:
parent
75d587eb19
commit
c6a54ad592
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user