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

Diff for /mandoc/mdoc.c between version 1.102 and 1.103

version 1.102, 2009/08/19 14:09:33 version 1.103, 2009/08/20 11:44:47
Line 682  macrowarn(struct mdoc *m, int ln, const char *buf)
Line 682  macrowarn(struct mdoc *m, int ln, const char *buf)
 int  int
 parsemacro(struct mdoc *m, int ln, char *buf)  parsemacro(struct mdoc *m, int ln, char *buf)
 {  {
         int               i, j, c, ppos;          int               i, j, c;
         char              mac[5];          char              mac[5];
   
         /* Empty lines are ignored. */          /* Empty lines are ignored. */
Line 702  parsemacro(struct mdoc *m, int ln, char *buf)
Line 702  parsemacro(struct mdoc *m, int ln, char *buf)
                         return(1);                          return(1);
         }          }
   
         ppos = i;  
   
         /* Copy the first word into a nil-terminated buffer. */          /* Copy the first word into a nil-terminated buffer. */
   
         for (j = 0; j < 4; j++, i++) {          for (j = 0; j < 4; j++, i++) {
Line 736  parsemacro(struct mdoc *m, int ln, char *buf)
Line 734  parsemacro(struct mdoc *m, int ln, char *buf)
          * Begin recursive parse sequence.  Since we're at the start of           * Begin recursive parse sequence.  Since we're at the start of
          * the line, we don't need to do callable/parseable checks.           * the line, we don't need to do callable/parseable checks.
          */           */
         if ( ! mdoc_macro(m, c, ln, ppos, &i, buf))          if ( ! mdoc_macro(m, c, ln, 1, &i, buf))
                 goto err;                  goto err;
   
         return(1);          return(1);

Legend:
Removed from v.1.102  
changed lines
  Added in v.1.103

CVSweb