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

Diff for /mandoc/main.c between version 1.127 and 1.128

version 1.127, 2010/12/29 14:38:14 version 1.128, 2011/01/01 13:37:40
Line 798  rerun:
Line 798  rerun:
                                 continue;                                  continue;
                         } else                          } else
                                 break;                                  break;
                 case (ROFF_CONT):                  default:
                         break;                          break;
                 }                  }
   
Line 816  rerun:
Line 816  rerun:
                  * Lastly, push down into the parsers themselves.  One                   * Lastly, push down into the parsers themselves.  One
                  * of these will have already been set in the pset()                   * of these will have already been set in the pset()
                  * routine.                   * routine.
                    * If libroff returns ROFF_TBL, then add it to the
                    * currently open parse.  Since we only get here if
                    * there does exist data (see tbl_data.c), we're
                    * guaranteed that something's been allocated.
                  */                   */
   
                 if (curp->man || curp->mdoc) {                  if (ROFF_TBL == rr) {
                           assert(curp->man || curp->mdoc);
                           if (curp->man)
                                   man_addspan(curp->man, roff_span(curp->roff));
                           else
                                   mdoc_addspan(curp->mdoc, roff_span(curp->roff));
   
                   } else if (curp->man || curp->mdoc) {
                         rc = curp->man ?                          rc = curp->man ?
                                 man_parseln(curp->man,                                  man_parseln(curp->man,
                                         curp->line, ln.buf, of) :                                          curp->line, ln.buf, of) :

Legend:
Removed from v.1.127  
changed lines
  Added in v.1.128

CVSweb