Commit cd2eb487 authored by Russ Cox's avatar Russ Cox

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

Fixes #5598.

R=ken2
CC=golang-dev
https://golang.org/cl/12104043
parent 27d17255
......@@ -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;
}
......
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