[BACK]Return to read.c CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / mandoc

Diff for /mandoc/read.c between version 1.152 and 1.153

version 1.152, 2016/10/09 18:16:56 version 1.153, 2016/11/10 12:47:50
Line 423  mparse_buf_r(struct mparse *curp, struct buf blk, size
Line 423  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 */

Legend:
Removed from v.1.152  
changed lines
  Added in v.1.153

CVSweb