[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.65 and 1.66

version 1.65, 2010/06/03 13:44:36 version 1.66, 2010/06/12 10:09:19
Line 978  pre_bl(PRE_ARGS)
Line 978  pre_bl(PRE_ARGS)
 static int  static int
 pre_bd(PRE_ARGS)  pre_bd(PRE_ARGS)
 {  {
         int              i;  
   
         if (MDOC_BLOCK == n->type)          if (MDOC_BLOCK == n->type)
                 return(pre_offset(m, n));                  return(pre_offset(m, n));
         if (MDOC_BODY != n->type)          if (MDOC_BODY != n->type)
                 return(1);                  return(1);
   
         /* Enter literal context if `Bd -literal' or `-unfilled'. */          if (DISP_literal == n->data.disp)
                   m->flags |= MDOC_LITERAL;
         for (n = n->parent, i = 0; i < (int)n->args->argc; i++)          if (DISP_unfilled == n->data.disp)
                 if (MDOC_Literal == n->args->argv[i].arg)                  m->flags |= MDOC_LITERAL;
                         m->flags |= MDOC_LITERAL;  
                 else if (MDOC_Unfilled == n->args->argv[i].arg)  
                         m->flags |= MDOC_LITERAL;  
   
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.65  
changed lines
  Added in v.1.66

CVSweb