Commit a05c59fe authored by Russ Cox's avatar Russ Cox

cleanup export

R=ken
OCL=16219
CL=16219
parent b033c581
...@@ -335,7 +335,7 @@ addmethod(Node *n, Type *t, int local) ...@@ -335,7 +335,7 @@ addmethod(Node *n, Type *t, int local)
return; return;
bad: bad:
yyerror("unknown method pointer: %T %S %S", pa, sf, st); yyerror("unknown method pointer: %T %S", pa, sf);
} }
/* /*
......
...@@ -288,7 +288,7 @@ void ...@@ -288,7 +288,7 @@ void
dumpm(Sym *s) dumpm(Sym *s)
{ {
Type *t, *f; Type *t, *f;
Dcl *back, *d1; Dcl *back, *d;
switch(s->lexical) { switch(s->lexical) {
default: default:
...@@ -313,12 +313,10 @@ dumpm(Sym *s) ...@@ -313,12 +313,10 @@ dumpm(Sym *s)
reexport(f->type); reexport(f->type);
Bprint(bout, "\tfunc %S %lS\n", f->sym, f->type->sym); Bprint(bout, "\tfunc %S %lS\n", f->sym, f->type->sym);
if(back != exportlist->back) { // redo first pass on new entries
// redo first pass on new entries for(d=back; d!=D; d=d->forw) {
for(d1=back; d1!=D; d1=d1->forw) { lineno = d->lineno;
lineno = d1->lineno; dumpe(d->dsym);
dumpe(d1->dsym);
}
} }
} }
} }
...@@ -326,7 +324,7 @@ dumpm(Sym *s) ...@@ -326,7 +324,7 @@ dumpm(Sym *s)
void void
dumpexport(void) dumpexport(void)
{ {
Dcl *d, *d1; Dcl *d;
int32 lno; int32 lno;
lno = lineno; lno = lineno;
......
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