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

Diff for /mandoc/read.c between version 1.4 and 1.6

version 1.4, 2011/03/20 16:05:21 version 1.6, 2011/03/22 10:35:26
Line 31 
Line 31 
 #include "libmandoc.h"  #include "libmandoc.h"
 #include "mdoc.h"  #include "mdoc.h"
 #include "man.h"  #include "man.h"
 #include "roff.h"  
   
 #ifndef MAP_FILE  #ifndef MAP_FILE
 #define MAP_FILE        0  #define MAP_FILE        0
Line 497  mparse_end(struct mparse *curp)
Line 496  mparse_end(struct mparse *curp)
                 return;                  return;
         }          }
   
 #if 0  
         /* FIXME: NOTE a parser may not have been assigned, yet. */  
   
         if ( ! (curp->man || curp->mdoc)) {          if ( ! (curp->man || curp->mdoc)) {
                 /* FIXME: make into an mandoc.h error. */                  mandoc_msg(MANDOCERR_NOTMANUAL, curp, 1, 0, NULL);
                 fprintf(stderr, "%s: Not a manual\n", curp->file);  
                 curp->file_status = MANDOCLEVEL_FATAL;                  curp->file_status = MANDOCLEVEL_FATAL;
                 goto cleanup;                  return;
         }          }
 #endif  
   
         roff_endparse(curp->roff);          roff_endparse(curp->roff);
 }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.6

CVSweb