[BACK]Return to read.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/read.c between version 1.161 and 1.162

version 1.161, 2017/07/06 22:58:44 version 1.162, 2017/07/08 14:51:01
Line 536 
Line 536 
                  * currently open parse.  Since we only get here if                   * currently open parse.  Since we only get here if
                  * there does exist data (see tbl_data.c), we're                   * there does exist data (see tbl_data.c), we're
                  * guaranteed that something's been allocated.                   * guaranteed that something's been allocated.
                  * Do the same for ROFF_EQN.  
                  */                   */
   
                 if (rr == ROFF_TBL)                  if (rr == ROFF_TBL)
                         while ((span = roff_span(curp->roff)) != NULL)                          while ((span = roff_span(curp->roff)) != NULL)
                                 roff_addtbl(curp->man, span);                                  roff_addtbl(curp->man, span);
                 else if (rr == ROFF_EQN)  
                         roff_addeqn(curp->man, roff_eqn(curp->roff));  
                 else if ((curp->man->macroset == MACROSET_MDOC ?                  else if ((curp->man->macroset == MACROSET_MDOC ?
                     mdoc_parseln(curp->man, curp->line, ln.buf, of) :                      mdoc_parseln(curp->man, curp->line, ln.buf, of) :
                     man_parseln(curp->man, curp->line, ln.buf, of)) == 2)                      man_parseln(curp->man, curp->line, ln.buf, of)) == 2)

Legend:
Removed from v.1.161  
changed lines
  Added in v.1.162