[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.35 and 1.37

version 1.35, 2009/08/20 13:22:48 version 1.37, 2009/09/16 20:49:06
Line 53  static int   post_tilde(POST_ARGS);
Line 53  static int   post_tilde(POST_ARGS);
 static  int       pre_bd(PRE_ARGS);  static  int       pre_bd(PRE_ARGS);
 static  int       pre_dl(PRE_ARGS);  static  int       pre_dl(PRE_ARGS);
   
 const   struct actions mdoc_actions[MDOC_MAX] = {  static  const struct actions mdoc_actions[MDOC_MAX] = {
         { NULL, NULL }, /* Ap */          { NULL, NULL }, /* Ap */
         { NULL, post_dd }, /* Dd */          { NULL, post_dd }, /* Dd */
         { NULL, post_dt }, /* Dt */          { NULL, post_dt }, /* Dt */
Line 617  post_bl_width(POST_ARGS)
Line 617  post_bl_width(POST_ARGS)
   
         if (0 == strcmp(p, "Ds"))          if (0 == strcmp(p, "Ds"))
                 width = 6;                  width = 6;
         else if (MDOC_MAX == (tok = mdoc_hash_find(m->htab, p)))          else if (MDOC_MAX == (tok = mdoc_hash_find(p)))
                 return(1);                  return(1);
         else if (0 == (width = mdoc_macro2len(tok)))          else if (0 == (width = mdoc_macro2len(tok)))
                 return(mdoc_nwarn(m, n, ENOWIDTH));                  return(mdoc_nwarn(m, n, ENOWIDTH));

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.37

CVSweb