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

Diff for /mandoc/tbl_layout.c between version 1.2 and 1.3

version 1.2, 2010/12/29 15:21:34 version 1.3, 2010/12/30 09:34:07
Line 217  row: /*
Line 217  row: /*
          */           */
   
         rp = mandoc_calloc(1, sizeof(struct tbl_row));          rp = mandoc_calloc(1, sizeof(struct tbl_row));
         if (tbl->last) {          if (tbl->last_row) {
                 tbl->last->next = rp;                  tbl->last_row->next = rp;
                 tbl->last = rp;                  tbl->last_row = rp;
         } else          } else
                 tbl->last = tbl->first = rp;                  tbl->last_row = tbl->first_row = rp;
   
 cell:  cell:
         while (isspace((unsigned char)p[*pos]))          while (isspace((unsigned char)p[*pos]))
Line 231  cell:
Line 231  cell:
   
         if ('.' == p[*pos]) {          if ('.' == p[*pos]) {
                 tbl->part = TBL_PART_DATA;                  tbl->part = TBL_PART_DATA;
                 if (NULL == tbl->first)                  if (NULL == tbl->first_row)
                         TBL_MSG(tbl, MANDOCERR_TBLNOLAYOUT, ln, *pos);                          TBL_MSG(tbl, MANDOCERR_TBLNOLAYOUT, ln, *pos);
                 (*pos)++;                  (*pos)++;
                 return;                  return;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

CVSweb