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

Diff for /mandoc/main.c between version 1.280 and 1.281

version 1.280, 2017/01/27 13:47:10 version 1.281, 2017/02/10 15:45:28
Line 742  parse(struct curparse *curp, int fd, const char *file)
Line 742  parse(struct curparse *curp, int fd, const char *file)
         if (man == NULL)          if (man == NULL)
                 return;                  return;
         if (man->macroset == MACROSET_MDOC) {          if (man->macroset == MACROSET_MDOC) {
                 mdoc_validate(man);                  if (curp->outtype != OUTT_TREE || !curp->outopts->noval)
                           mdoc_validate(man);
                 switch (curp->outtype) {                  switch (curp->outtype) {
                 case OUTT_HTML:                  case OUTT_HTML:
                         html_mdoc(curp->outdata, man);                          html_mdoc(curp->outdata, man);
Line 765  parse(struct curparse *curp, int fd, const char *file)
Line 766  parse(struct curparse *curp, int fd, const char *file)
                 }                  }
         }          }
         if (man->macroset == MACROSET_MAN) {          if (man->macroset == MACROSET_MAN) {
                 man_validate(man);                  if (curp->outtype != OUTT_TREE || !curp->outopts->noval)
                           man_validate(man);
                 switch (curp->outtype) {                  switch (curp->outtype) {
                 case OUTT_HTML:                  case OUTT_HTML:
                         html_man(curp->outdata, man);                          html_man(curp->outdata, man);

Legend:
Removed from v.1.280  
changed lines
  Added in v.1.281

CVSweb