out:
if(c > 1)
- yyerror("ambiguous DOT reference %T.%S", t, s);
+ yyerror("ambiguous selector %T.%S", t, s);
// rebuild elided dots
for(c=d-1; c>=0; c--)
if(f->sym != s)
continue;
if(r != T) {
- yyerror("ambiguous DOT reference %T.%S", t, s);
+ yyerror("ambiguous selector %T.%S", t, s);
break;
}
r = f;
if(f1 != T) {
if(f2 != T)
- yyerror("ambiguous DOT reference %S as both field and method",
+ yyerror("%S is both field and method",
n->right->sym);
if(f1->width == BADWIDTH)
fatal("lookdot badwidth %T %p", f1, f1);