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

Diff for /mandoc/out.c between version 1.45 and 1.47

version 1.45, 2013/05/31 21:37:17 version 1.47, 2014/03/23 11:25:26
Line 28 
Line 28 
 #include <string.h>  #include <string.h>
 #include <time.h>  #include <time.h>
   
   #include "mandoc_aux.h"
 #include "mandoc.h"  #include "mandoc.h"
 #include "out.h"  #include "out.h"
   
Line 142  void
Line 143  void
 tblcalc(struct rofftbl *tbl, const struct tbl_span *sp)  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp)
 {  {
         const struct tbl_dat    *dp;          const struct tbl_dat    *dp;
         const struct tbl_head   *hp;  
         struct roffcol          *col;          struct roffcol          *col;
         int                      spans;          int                      spans;
   
Line 155  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
Line 155  tblcalc(struct rofftbl *tbl, const struct tbl_span *sp
         assert(NULL == tbl->cols);          assert(NULL == tbl->cols);
         tbl->cols = mandoc_calloc          tbl->cols = mandoc_calloc
                 ((size_t)sp->opts->cols, sizeof(struct roffcol));                  ((size_t)sp->opts->cols, sizeof(struct roffcol));
   
         hp = sp->head;  
   
         for ( ; sp; sp = sp->next) {          for ( ; sp; sp = sp->next) {
                 if (TBL_SPAN_DATA != sp->pos)                  if (TBL_SPAN_DATA != sp->pos)

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.47

CVSweb