1
0
mirror of https://github.com/golang/go synced 2024-11-11 22:00:23 -07:00

cmd/gc: remove node printing in redeclare errors

I suspect this is some debugging which got through the submission process.

Fixes #4789.

R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/7310079
This commit is contained in:
Daniel Morsing 2013-02-14 21:11:47 +01:00
parent 6a828482fa
commit 38244018ce

View File

@ -171,9 +171,9 @@ redeclare(Sym *s, char *where)
line1 = s->lastlineno;
}
yyerrorl(line1, "%S redeclared %s (%#N)\n"
yyerrorl(line1, "%S redeclared %s\n"
"\tprevious declaration at %L",
s, where, s->def, line2);
s, where, line2);
}
}