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

Diff for /mandoc/tbl_data.c between version 1.5 and 1.7

version 1.5, 2011/01/01 17:10:20 version 1.7, 2011/01/01 22:27:08
Line 18 
Line 18 
 #include <ctype.h>  #include <ctype.h>
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
   #include <time.h>
   
 #include "mandoc.h"  #include "mandoc.h"
 #include "libmandoc.h"  #include "libmandoc.h"
Line 50  data(struct tbl *tbl, struct tbl_span *dp, 
Line 51  data(struct tbl *tbl, struct tbl_span *dp, 
   
         dat = mandoc_calloc(1, sizeof(struct tbl_dat));          dat = mandoc_calloc(1, sizeof(struct tbl_dat));
         dat->layout = cp;          dat->layout = cp;
   
           if (NULL == dat->layout)
                   TBL_MSG(tbl, MANDOCERR_TBLEXTRADAT, ln, *pos);
   
         if (dp->last) {          if (dp->last) {
                 dp->last->next = dat;                  dp->last->next = dat;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.7

CVSweb