Commit 38244018 authored by Daniel Morsing's avatar Daniel Morsing

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
parent 6a828482
...@@ -171,9 +171,9 @@ redeclare(Sym *s, char *where) ...@@ -171,9 +171,9 @@ redeclare(Sym *s, char *where)
line1 = s->lastlineno; line1 = s->lastlineno;
} }
yyerrorl(line1, "%S redeclared %s (%#N)\n" yyerrorl(line1, "%S redeclared %s\n"
"\tprevious declaration at %L", "\tprevious declaration at %L",
s, where, s->def, line2); s, where, line2);
} }
} }
......
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