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

Diff for /mandoc/mdoc.c between version 1.76 and 1.77

version 1.76, 2009/06/10 20:18:43 version 1.77, 2009/06/12 12:52:51
Line 480  mdoc_block_alloc(struct mdoc *mdoc, int line, int pos,
Line 480  mdoc_block_alloc(struct mdoc *mdoc, int line, int pos,
         p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK);          p = node_alloc(mdoc, line, pos, tok, MDOC_BLOCK);
         if (NULL == p)          if (NULL == p)
                 return(0);                  return(0);
         if ((p->args = args))          p->args = args;
           if (p->args)
                 (args->refcnt)++;                  (args->refcnt)++;
         return(node_append(mdoc, p));          return(node_append(mdoc, p));
 }  }
Line 495  mdoc_elem_alloc(struct mdoc *mdoc, int line, int pos, 
Line 496  mdoc_elem_alloc(struct mdoc *mdoc, int line, int pos, 
         p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM);          p = node_alloc(mdoc, line, pos, tok, MDOC_ELEM);
         if (NULL == p)          if (NULL == p)
                 return(0);                  return(0);
         if ((p->args = args))          p->args = args;
           if (p->args)
                 (args->refcnt)++;                  (args->refcnt)++;
         return(node_append(mdoc, p));          return(node_append(mdoc, p));
 }  }

Legend:
Removed from v.1.76  
changed lines
  Added in v.1.77

CVSweb