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

Diff for /mandoc/man.c between version 1.59 and 1.60

version 1.59, 2010/03/29 10:10:35 version 1.60, 2010/04/08 07:53:01
Line 53  const char *const __man_merrnames[WERRMAX] = {   
Line 53  const char *const __man_merrnames[WERRMAX] = {   
         "invalid nesting of roff declarations", /* WROFFNEST */          "invalid nesting of roff declarations", /* WROFFNEST */
         "scope in roff instructions broken", /* WROFFSCOPE */          "scope in roff instructions broken", /* WROFFSCOPE */
         "document title should be uppercase", /* WTITLECASE */          "document title should be uppercase", /* WTITLECASE */
           "deprecated comment style", /* WBADCOMMENT */
 };  };
   
 const   char *const __man_macronames[MAN_MAX] = {  const   char *const __man_macronames[MAN_MAX] = {
Line 377  man_ptext(struct man *m, int line, char *buf)
Line 378  man_ptext(struct man *m, int line, char *buf)
 {  {
         int              i, j;          int              i, j;
         char             sv;          char             sv;
   
           /* Ignore bogus comments. */
   
           if ('\\' == buf[0] && '.' == buf[1] && '\"' == buf[2])
                   return(man_pwarn(m, line, 0, WBADCOMMENT));
   
         /* Literal free-form text whitespace is preserved. */          /* Literal free-form text whitespace is preserved. */
   

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60

CVSweb