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

Diff for /mandoc/main.c between version 1.128 and 1.132

version 1.128, 2011/01/01 13:37:40 version 1.132, 2011/01/03 13:54:02
Line 176  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 176  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "bad comment style",          "bad comment style",
         "unknown escape sequence",          "unknown escape sequence",
         "unterminated quoted string",          "unterminated quoted string",
   
           /* related to tables */
           "extra data cells",
   
         "generic error",          "generic error",
   
           /* related to tables */
         "bad table syntax",          "bad table syntax",
         "bad table option",          "bad table option",
         "bad table layout",          "bad table layout",
         "no table layout cells specified",          "no table layout cells specified",
           "no table data cells specified",
         "input stack limit exceeded, infinite loop?",          "input stack limit exceeded, infinite loop?",
         "skipping bad character",          "skipping bad character",
         "skipping text before the first section header",          "skipping text before the first section header",
Line 526  fdesc(struct curparse *curp)
Line 531  fdesc(struct curparse *curp)
         }          }
   
         assert(curp->roff);          assert(curp->roff);
         if ( ! roff_endparse(curp->roff)) {          roff_endparse(curp->roff);
                 assert(MANDOCLEVEL_FATAL <= file_status);  
                 goto cleanup;  
         }  
   
         /*          /*
          * With -Wstop and warnings or errors of at least           * With -Wstop and warnings or errors of at least
Line 801  rerun:
Line 803  rerun:
                 default:                  default:
                         break;                          break;
                 }                  }
   
                   /*
                    * If we encounter errors in the recursive parsebuf()
                    * call, make sure we don't continue parsing.
                    */
   
                   if (MANDOCLEVEL_FATAL <= file_status)
                           break;
   
                 /*                  /*
                  * If input parsers have not been allocated, do so now.                   * If input parsers have not been allocated, do so now.

Legend:
Removed from v.1.128  
changed lines
  Added in v.1.132

CVSweb