version 1.113, 2010/12/01 16:54:25 |
version 1.114, 2010/12/01 17:00:05 |
|
|
parsebuf(struct curparse *curp, struct buf blk, int start) |
parsebuf(struct curparse *curp, struct buf blk, int start) |
{ |
{ |
struct buf ln; |
struct buf ln; |
|
enum rofferr rr; |
int i, of, rc; |
int i, of, rc; |
int pos; /* byte number in the ln buffer */ |
int pos; /* byte number in the ln buffer */ |
int lnn; /* line number in the real file */ |
int lnn; /* line number in the real file */ |
Line 743 parsebuf(struct curparse *curp, struct buf blk, int st |
|
Line 744 parsebuf(struct curparse *curp, struct buf blk, int st |
|
of = 0; |
of = 0; |
|
|
rerun: |
rerun: |
rc = roff_parseln |
rr = roff_parseln |
(curp->roff, curp->line, |
(curp->roff, curp->line, |
&ln.buf, &ln.sz, of, &of); |
&ln.buf, &ln.sz, of, &of); |
|
|
switch (rc) { |
switch (rr) { |
case (ROFF_REPARSE): |
case (ROFF_REPARSE): |
parsebuf(curp, ln, 0); |
parsebuf(curp, ln, 0); |
pos = 0; |
pos = 0; |