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

Diff for /mandoc/man_macro.c between version 1.50 and 1.51

version 1.50, 2010/07/31 23:52:58 version 1.51, 2010/11/30 15:36:28
Line 123  man_unscope(struct man *m, const struct man_node *n, 
Line 123  man_unscope(struct man *m, const struct man_node *n, 
                         return(0);                          return(0);
                 if ( ! man_valid_post(m))                  if ( ! man_valid_post(m))
                         return(0);                          return(0);
                 if ( ! man_action_post(m))  
                         return(0);  
                 m->last = m->last->parent;                  m->last = m->last->parent;
                 assert(m->last);                  assert(m->last);
         }          }
Line 133  man_unscope(struct man *m, const struct man_node *n, 
Line 131  man_unscope(struct man *m, const struct man_node *n, 
                 return(0);                  return(0);
         if ( ! man_valid_post(m))          if ( ! man_valid_post(m))
                 return(0);                  return(0);
         if ( ! man_action_post(m))  
                 return(0);  
   
         m->next = MAN_ROOT == m->last->type ?          m->next = MAN_ROOT == m->last->type ?
                 MAN_NEXT_CHILD : MAN_NEXT_SIBLING;                  MAN_NEXT_CHILD : MAN_NEXT_SIBLING;
Line 458  in_line_eoln(MACRO_PROT_ARGS)
Line 454  in_line_eoln(MACRO_PROT_ARGS)
                         break;                          break;
                 if ( ! man_valid_post(m))                  if ( ! man_valid_post(m))
                         return(0);                          return(0);
                 if ( ! man_action_post(m))  
                         return(0);  
         }          }
   
         assert(m->last);          assert(m->last);
Line 469  in_line_eoln(MACRO_PROT_ARGS)
Line 463  in_line_eoln(MACRO_PROT_ARGS)
          */           */
   
         if (m->last->type != MAN_ROOT && ! man_valid_post(m))          if (m->last->type != MAN_ROOT && ! man_valid_post(m))
                 return(0);  
         if (m->last->type != MAN_ROOT && ! man_action_post(m))  
                 return(0);                  return(0);
   
         m->next = MAN_ROOT == m->last->type ?          m->next = MAN_ROOT == m->last->type ?

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51

CVSweb