1
0
mirror of https://github.com/golang/go synced 2024-11-25 13:17:56 -07:00

cmd/gc: don't report mark if other things are broken

Fixes #5598.

R=ken2
CC=golang-dev
https://golang.org/cl/12104043
This commit is contained in:
Russ Cox 2013-07-30 10:27:26 -04:00
parent 27d17255db
commit cd2eb48722

View File

@ -141,6 +141,8 @@ testdclstack(void)
for(d=dclstack; d!=S; d=d->link) {
if(d->name == nil) {
if(nerrors != 0)
errorexit();
yyerror("mark left on the stack");
continue;
}