[BACK]Return to main.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / mandoc

Diff for /src/usr.bin/mandoc/main.c between version 1.45 and 1.46

version 1.45, 2010/08/20 00:53:35 version 1.46, 2010/08/20 08:13:03
Line 536 
Line 536 
                 }                  }
         }          }
   
         /*  
          * With -Wstop and warnings or errors of at least  
          * the requested level, do not produce output.  
          */  
   
         if (MANDOCLEVEL_OK != exit_status && curp->wstop)  
                 goto cleanup;  
   
         /* NOTE a parser may not have been assigned, yet. */          /* NOTE a parser may not have been assigned, yet. */
   
         if ( ! (man || mdoc)) {          if ( ! (man || mdoc)) {
Line 566 
Line 558 
                 assert(MANDOCLEVEL_FATAL <= exit_status);                  assert(MANDOCLEVEL_FATAL <= exit_status);
                 goto cleanup;                  goto cleanup;
         }          }
   
           /*
            * With -Wstop and warnings or errors of at least
            * the requested level, do not produce output.
            */
   
           if (MANDOCLEVEL_OK != exit_status && curp->wstop)
                   goto cleanup;
   
         /* If unset, allocate output dev now (if applicable). */          /* If unset, allocate output dev now (if applicable). */
   

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46