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

Diff for /mandoc/Attic/action.c between version 1.24 and 1.25

version 1.24, 2009/02/28 14:40:07 version 1.25, 2009/02/28 14:43:35
Line 392  post_bl_width(struct mdoc *mdoc)
Line 392  post_bl_width(struct mdoc *mdoc)
          * the macro's width as set in share/tmac/mdoc/doc-common.           * the macro's width as set in share/tmac/mdoc/doc-common.
          */           */
   
         if (xstrcmp(*p, "Ds"))          if (xstrcmp(*p, "Ds")) {
                   if ( ! mdoc_warn(mdoc, WARN_COMPAT,
                                           "%s argument deprecated",
                                           mdoc_argnames[MDOC_Width]))
                           return(0);
                 width = 6;                  width = 6;
         else if (MDOC_MAX == (tok = mdoc_find(mdoc, *p)))          } else if (MDOC_MAX == (tok = mdoc_find(mdoc, *p)))
                 return(1);                  return(1);
         else if (0 == (width = mdoc_macro2len(tok)))          else if (0 == (width = mdoc_macro2len(tok)))
                 return(mdoc_warn(mdoc, WARN_SYNTAX,                  return(mdoc_warn(mdoc, WARN_SYNTAX,
                                         "-%s macro has no length",                                          "%s macro has no length",
                                         mdoc_argnames[MDOC_Width]));                                          mdoc_argnames[MDOC_Width]));
   
         mdoc_msg(mdoc, "re-writing %s argument: %s -> %zun",          mdoc_msg(mdoc, "re-writing %s argument: %s -> %zun",

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25

CVSweb