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:
parent
27d17255db
commit
cd2eb48722
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user