]> Cypherpunks repositories - gostls13.git/commit
gc: look at cumulative error count, not just per-function.
authorLuuk van Dijk <lvd@golang.org>
Sat, 12 Nov 2011 05:32:56 +0000 (00:32 -0500)
committerRuss Cox <rsc@golang.org>
Sat, 12 Nov 2011 05:32:56 +0000 (00:32 -0500)
commit3208917d54fea665392b692dee1bf1a921510fc2
tree760c2532adea39dc60f53725eab1e8abff8a384b
parent9192548f803eb9eceee2fcef16fbfdc0947eb468
gc: look at cumulative error count, not just per-function.

Not sure if this is what you'd really want.  Maybe with a higher limit than 10
or perhaps keep checking nerrors > 10 per yyerror, but check the cumulative
after each function?

R=rsc
CC=golang-dev
https://golang.org/cl/5376064
src/cmd/gc/subr.c