Commit a343e5ce authored by Russ Cox's avatar Russ Cox

fix handling of line numbers for first function

R=r
DELTA=2  (1 added, 0 deleted, 1 changed)
OCL=28949
CL=28951
parent c54699c9
......@@ -250,8 +250,9 @@ splitpcln(void)
f = func;
ef = func + nfunc;
f->pcln.array = p;
pc = func[0].entry; // text base
f->pcln.array = p;
f->pc0 = pc - PcQuant;
line = 0;
for(; p < ep; p++) {
if(f < ef && pc >= (f+1)->entry) {
......
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