Commit 57d80398 authored by Ken Thompson's avatar Ken Thompson

line numbers

SVN=125228
parent 4331293f
...@@ -700,6 +700,8 @@ Lconv(Fmt *fp) ...@@ -700,6 +700,8 @@ Lconv(Fmt *fp)
n = 0; n = 0;
for(h=hist; h!=H; h=h->link) { for(h=hist; h!=H; h=h->link) {
if(h->offset < 0)
continue;
if(lno < h->line) if(lno < h->line)
break; break;
if(h->name) { if(h->name) {
......
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