version 1.150.2.1, 2016/10/18 22:44:29 |
version 1.150.2.2, 2016/11/10 12:52:12 |
Line 425 mparse_buf_r(struct mparse *curp, struct buf blk, size |
|
Line 425 mparse_buf_r(struct mparse *curp, struct buf blk, size |
|
i += 2; |
i += 2; |
/* Comment, skip to end of line */ |
/* Comment, skip to end of line */ |
for (; i < blk.sz; ++i) { |
for (; i < blk.sz; ++i) { |
if ('\n' == blk.buf[i]) { |
if (blk.buf[i] != '\n') |
++i; |
continue; |
++lnn; |
if (blk.buf[i - 1] == ' ' || |
break; |
blk.buf[i - 1] == '\t') |
} |
mandoc_msg( |
|
MANDOCERR_SPACE_EOL, |
|
curp, curp->line, |
|
pos, NULL); |
|
++i; |
|
++lnn; |
|
break; |
} |
} |
|
|
/* Backout trailing whitespaces */ |
/* Backout trailing whitespaces */ |