From: Ken Thompson Date: Sat, 28 Jun 2008 00:35:42 +0000 (-0700) Subject: line numbers X-Git-Tag: weekly.2009-11-06~3594 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=57d80398e6081f58c7e501710b4f6e8a6c1904df;p=gostls13.git line numbers SVN=125228 --- diff --git a/src/cmd/gc/subr.c b/src/cmd/gc/subr.c index 9b20ee4f6f..6bae9833ac 100644 --- a/src/cmd/gc/subr.c +++ b/src/cmd/gc/subr.c @@ -700,6 +700,8 @@ Lconv(Fmt *fp) n = 0; for(h=hist; h!=H; h=h->link) { + if(h->offset < 0) + continue; if(lno < h->line) break; if(h->name) {