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

Diff for /mandoc/roff.c between version 1.376 and 1.377

version 1.376, 2020/08/27 12:59:02 version 1.377, 2021/06/27 17:57:55
Line 1823  roff_parsetext(struct roff *r, struct buf *buf, int po
Line 1823  roff_parsetext(struct roff *r, struct buf *buf, int po
 }  }
   
 int  int
 roff_parseln(struct roff *r, int ln, struct buf *buf, int *offs)  roff_parseln(struct roff *r, int ln, struct buf *buf, int *offs, size_t len)
 {  {
         enum roff_tok    t;          enum roff_tok    t;
         int              e;          int              e;
Line 1833  roff_parseln(struct roff *r, int ln, struct buf *buf, 
Line 1833  roff_parseln(struct roff *r, int ln, struct buf *buf, 
         int              ctl;   /* macro line (boolean) */          int              ctl;   /* macro line (boolean) */
   
         ppos = pos = *offs;          ppos = pos = *offs;
   
           if (len > 80 && r->tbl == NULL && r->eqn == NULL &&
               (r->man->flags & ROFF_NOFILL) == 0 &&
               strchr(" .\\", buf->buf[pos]) == NULL &&
               buf->buf[pos] != r->control &&
               strcspn(buf->buf, " ") < 80)
                   mandoc_msg(MANDOCERR_TEXT_LONG, ln, (int)len - 1,
                       "%.20s...", buf->buf + pos);
   
         /* Handle in-line equation delimiters. */          /* Handle in-line equation delimiters. */
   

Legend:
Removed from v.1.376  
changed lines
  Added in v.1.377

CVSweb