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

Diff for /mandoc/Attic/mdoc_action.c between version 1.52 and 1.53

version 1.52, 2010/04/05 09:03:12 version 1.53, 2010/04/06 11:33:00
Line 729  post_bl_head(POST_ARGS)
Line 729  post_bl_head(POST_ARGS)
                 nn->string = NULL;                  nn->string = NULL;
                 nnp = nn;                  nnp = nn;
                 nn = nn->next;                  nn = nn->next;
                 mdoc_node_free(nnp);                  mdoc_node_delete(NULL, nnp);
         }          }
   
         n->nchild = 0;          n->nchild = 0;
Line 854  post_dd(POST_ARGS)
Line 854  post_dd(POST_ARGS)
 static int  static int
 post_prol(POST_ARGS)  post_prol(POST_ARGS)
 {  {
         struct mdoc_node *np;  
   
         if (n->parent->child == n)          mdoc_node_delete(m, n);
                 n->parent->child = n->prev;  
         if (n->prev)  
                 n->prev->next = NULL;  
   
         np = n;  
         assert(NULL == n->next);  
   
         if (n->prev) {  
                 m->last = n->prev;  
                 m->next = MDOC_NEXT_SIBLING;  
         } else {  
                 m->last = n->parent;  
                 m->next = MDOC_NEXT_CHILD;  
         }  
   
         mdoc_node_freelist(np);  
   
         if (m->meta.title && m->meta.date && m->meta.os)          if (m->meta.title && m->meta.date && m->meta.os)
                 m->flags |= MDOC_PBODY;                  m->flags |= MDOC_PBODY;
   
         return(1);          return(1);
 }  }
   

Legend:
Removed from v.1.52  
changed lines
  Added in v.1.53

CVSweb