missing break after error.
dot symbol bug fix: leave sym alone
(was incorrect for inserted cross-package dots).
R=ken
OCL=31234
CL=31236
case OGOTO:
case OPANIC:
+ case OPANICN:
case ORETURN:
return 0;
}
yyerror("walkstate: %S not a top level statement", n->sym);
else
yyerror("walkstate: %O not a top level statement", n->op);
+ break;
case OASOP:
case OAS:
r = T;
for(; f!=T; f=f->down) {
- if(f->sym == S)
- continue;
if(f->sym != s)
continue;
if(r != T) {
if(f2 != T)
yyerror("ambiguous DOT reference %S as both field and method",
n->right->sym);
- n->right = f1->nname; // substitute real name
n->xoffset = f1->width;
n->type = f1->type;
if(t->etype == TINTER) {