[BACK]Return to man_macro.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/man_macro.c between version 1.74 and 1.75

version 1.74, 2015/10/06 18:30:43 version 1.75, 2015/10/22 21:53:49
Line 128 
Line 128 
   
                 man->last = n;                  man->last = n;
                 n = n->parent;                  n = n->parent;
                 man_valid_post(man);                  man->last->flags |= MAN_VALID;
         }          }
   
         /*          /*
Line 377 
Line 377 
         assert(man->last->type != ROFFT_ROOT);          assert(man->last->type != ROFFT_ROOT);
         man->next = ROFF_NEXT_SIBLING;          man->next = ROFF_NEXT_SIBLING;
   
         /*          /* Rewind our element scope. */
          * Rewind our element scope.  Note that when TH is pruned, we'll  
          * be back at the root, so make sure that we don't clobber as  
          * its sibling.  
          */  
   
         for ( ; man->last; man->last = man->last->parent) {          for ( ; man->last; man->last = man->last->parent) {
                   man_state(man, man->last);
                 if (man->last == n)                  if (man->last == n)
                         break;                          break;
                 if (man->last->type == ROFFT_ROOT)  
                         break;  
                 man_valid_post(man);  
         }          }
   
         assert(man->last);  
   
         /*  
          * Same here regarding whether we're back at the root.  
          */  
   
         if (man->last->type != ROFFT_ROOT)  
                 man_valid_post(man);  
 }  }
   
 void  void
Line 406 
Line 391 
 {  {
   
         man_unscope(man, man->first);          man_unscope(man, man->first);
           man->flags &= ~MAN_LITERAL;
 }  }
   
 static int  static int

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75