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

Diff for /mandoc/main.c between version 1.234 and 1.235

version 1.234, 2015/04/18 16:06:40 version 1.235, 2015/04/18 16:34:25
Line 632  static void
Line 632  static void
 parse(struct curparse *curp, int fd, const char *file)  parse(struct curparse *curp, int fd, const char *file)
 {  {
         enum mandoclevel  rctmp;          enum mandoclevel  rctmp;
         struct roff_man  *mdoc;  
         struct roff_man  *man;          struct roff_man  *man;
   
         /* Begin by parsing the file itself. */          /* Begin by parsing the file itself. */
Line 720  parse(struct curparse *curp, int fd, const char *file)
Line 719  parse(struct curparse *curp, int fd, const char *file)
                 }                  }
         }          }
   
         mparse_result(curp->mp, &mdoc, &man, NULL);          mparse_result(curp->mp, &man, NULL);
   
         /* Execute the out device, if it exists. */          /* Execute the out device, if it exists. */
   
         if (man && curp->outman)          if (man == NULL)
                   return;
           if (curp->outmdoc != NULL && man->macroset == MACROSET_MDOC)
                   (*curp->outmdoc)(curp->outdata, man);
           if (curp->outman != NULL && man->macroset == MACROSET_MAN)
                 (*curp->outman)(curp->outdata, man);                  (*curp->outman)(curp->outdata, man);
         if (mdoc && curp->outmdoc)  
                 (*curp->outmdoc)(curp->outdata, mdoc);  
 }  }
   
 static void  static void

Legend:
Removed from v.1.234  
changed lines
  Added in v.1.235

CVSweb