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

Diff for /mandoc/main.c between version 1.140 and 1.141

version 1.140, 2011/01/24 23:41:55 version 1.141, 2011/01/25 12:24:27
Line 656  pdesc(struct curparse *curp)
Line 656  pdesc(struct curparse *curp)
 static void  static void
 parsebuf(struct curparse *curp, struct buf blk, int start)  parsebuf(struct curparse *curp, struct buf blk, int start)
 {  {
           const struct tbl_span   *span;
         struct buf       ln;          struct buf       ln;
         enum rofferr     rr;          enum rofferr     rr;
         int              i, of, rc;          int              i, of, rc;
Line 855  rerun:
Line 856  rerun:
   
                 if (ROFF_TBL == rr) {                  if (ROFF_TBL == rr) {
                         assert(curp->man || curp->mdoc);                          assert(curp->man || curp->mdoc);
                         if (curp->man)                          while (NULL != (span = roff_span(curp->roff))) {
                                 man_addspan(curp->man, roff_span(curp->roff));                                  if (curp->man)
                         else                                          man_addspan(curp->man, span);
                                 mdoc_addspan(curp->mdoc, roff_span(curp->roff));                                  else
                                           mdoc_addspan(curp->mdoc, span);
                           }
                 } else if (curp->man || curp->mdoc) {                  } else if (curp->man || curp->mdoc) {
                         rc = curp->man ?                          rc = curp->man ?
                                 man_parseln(curp->man,                                  man_parseln(curp->man,

Legend:
Removed from v.1.140  
changed lines
  Added in v.1.141

CVSweb