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

Diff for /mandoc/main.c between version 1.73 and 1.75

version 1.73, 2010/05/15 21:53:11 version 1.75, 2010/05/16 00:04:46
Line 574  pset(const char *buf, int pos, struct curparse *curp,
Line 574  pset(const char *buf, int pos, struct curparse *curp,
          * default to -man, which is more lenient.           * default to -man, which is more lenient.
          */           */
   
         if (buf[0] == '.') {          if ('.' == buf[0] || '\'' == buf[0]) {
                 for (i = 1; buf[i]; i++)                  for (i = 1; buf[i]; i++)
                         if (' ' != buf[i] && '\t' != buf[i])                          if (' ' != buf[i] && '\t' != buf[i])
                                 break;                                  break;
Line 789  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 789  static const char * const mandocerrs[MANDOCERR_MAX] = 
 static int  static int
 mmsg(enum mandocerr t, void *arg, int ln, int col, const char *msg)  mmsg(enum mandocerr t, void *arg, int ln, int col, const char *msg)
 {  {
   #if 0
         struct curparse *cp;          struct curparse *cp;
   
         cp = (struct curparse *)arg;          cp = (struct curparse *)arg;
Line 800  mmsg(enum mandocerr t, void *arg, int ln, int col, con
Line 801  mmsg(enum mandocerr t, void *arg, int ln, int col, con
                 fprintf(stderr, ": %s", msg);                  fprintf(stderr, ": %s", msg);
   
         fputc('\n', stderr);          fputc('\n', stderr);
   #endif
         return(1);          return(1);
 }  }

Legend:
Removed from v.1.73  
changed lines
  Added in v.1.75

CVSweb