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

Diff for /mandoc/mdoc.c between version 1.62 and 1.63

version 1.62, 2009/03/12 02:57:36 version 1.63, 2009/03/12 15:55:11
Line 520  parsemacro(struct mdoc *m, int ln, char *buf)
Line 520  parsemacro(struct mdoc *m, int ln, char *buf)
         int               i, c;          int               i, c;
         char              mac[5];          char              mac[5];
   
         /* Comments are quickly ignored. */          /* Comments and empties are quickly ignored. */
   
           if (0 == buf[1])
                   return(1);
   
           if (isspace((unsigned char)buf[1])) {
                   i = 2;
                   while (buf[i] && isspace((unsigned char)buf[i]))
                           i++;
                   if (0 == buf[i])
                           return(1);
                   return(mdoc_perr(m, ln, 1, "invalid syntax"));
           }
   
         if (buf[1] && '\\' == buf[1])          if (buf[1] && '\\' == buf[1])
                 if (buf[2] && '\"' == buf[2])                  if (buf[2] && '\"' == buf[2])

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

CVSweb