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

Diff for /src/usr.bin/mandoc/mdoc_validate.c between version 1.80 and 1.81

version 1.80, 2010/12/21 23:57:31 version 1.81, 2010/12/26 21:04:19
Line 127 
Line 127 
 static  int      pre_literal(PRE_ARGS);  static  int      pre_literal(PRE_ARGS);
 static  int      pre_os(PRE_ARGS);  static  int      pre_os(PRE_ARGS);
 static  int      pre_par(PRE_ARGS);  static  int      pre_par(PRE_ARGS);
   static  int      pre_rs(PRE_ARGS);
 static  int      pre_sh(PRE_ARGS);  static  int      pre_sh(PRE_ARGS);
 static  int      pre_ss(PRE_ARGS);  static  int      pre_ss(PRE_ARGS);
 static  int      pre_std(PRE_ARGS);  static  int      pre_std(PRE_ARGS);
Line 174 
Line 175 
 static  v_pre    pres_it[] = { pre_it, pre_par, NULL };  static  v_pre    pres_it[] = { pre_it, pre_par, NULL };
 static  v_pre    pres_os[] = { pre_os, NULL };  static  v_pre    pres_os[] = { pre_os, NULL };
 static  v_pre    pres_pp[] = { pre_par, NULL };  static  v_pre    pres_pp[] = { pre_par, NULL };
   static  v_pre    pres_rs[] = { pre_rs, NULL };
 static  v_pre    pres_sh[] = { pre_sh, NULL };  static  v_pre    pres_sh[] = { pre_sh, NULL };
 static  v_pre    pres_ss[] = { pre_ss, NULL };  static  v_pre    pres_ss[] = { pre_ss, NULL };
 static  v_pre    pres_std[] = { pre_std, NULL };  static  v_pre    pres_std[] = { pre_std, NULL };
Line 265 
Line 267 
         { NULL, NULL },                         /* Qo */          { NULL, NULL },                         /* Qo */
         { NULL, NULL },                         /* Qq */          { NULL, NULL },                         /* Qq */
         { NULL, NULL },                         /* Re */          { NULL, NULL },                         /* Re */
         { NULL, posts_rs },                     /* Rs */          { pres_rs, posts_rs },                  /* Rs */
         { NULL, NULL },                         /* Sc */          { NULL, NULL },                         /* Sc */
         { NULL, NULL },                         /* So */          { NULL, NULL },                         /* So */
         { NULL, NULL },                         /* Sq */          { NULL, NULL },                         /* Sq */
Line 979 
Line 981 
         return(1);          return(1);
 }  }
   
   static int
   pre_rs(PRE_ARGS)
   {
   
           assert(NULL == n->data.Rs);
           n->data.Rs = mandoc_calloc(1, sizeof(struct mdoc_rs));
   
           return(1);
   }
   
   
 static int  static int
 post_bf(POST_ARGS)  post_bf(POST_ARGS)
 {  {
Line 1687 
Line 1699 
                                 break;                                  break;
   
                 if (i < RSORD_MAX) {                  if (i < RSORD_MAX) {
                           if (MDOC__J == rsord[i])
                                   mdoc->last->parent->data.Rs->child_J = nn;
                         next = nn->next;                          next = nn->next;
                         continue;                          continue;
                 }                  }
Line 1704 
Line 1718 
   
         next = NULL;          next = NULL;
         for (nn = mdoc->last->child->next; nn; nn = next) {          for (nn = mdoc->last->child->next; nn; nn = next) {
   
                 /* Determine order of `nn'. */                  /* Determine order of `nn'. */
                 for (i = 0; i < RSORD_MAX; i++)                  for (i = 0; i < RSORD_MAX; i++)
                         if (rsord[i] == nn->tok)                          if (rsord[i] == nn->tok)

Legend:
Removed from v.1.80  
changed lines
  Added in v.1.81