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

Diff for /mandoc/read.c between version 1.51 and 1.57

version 1.51, 2014/06/21 22:24:01 version 1.57, 2014/07/02 13:10:45
Line 93  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 93  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "generic warning",          "generic warning",
   
         /* related to the prologue */          /* related to the prologue */
         "no TH macro in document",          "missing .TH macro, using \"unknown 1\"",
         "document title should be all caps",          "lower case character in document title",
         "unknown manual section",          "unknown manual section",
         "unknown manual volume or arch",          "unknown manual volume or arch",
         "date missing, using today's date",          "missing date, using today's date",
         "cannot parse date, using it verbatim",          "cannot parse date, using it verbatim",
         "prologue macros out of order",          "prologue macros out of order",
         "duplicate prologue macro",          "duplicate prologue macro",
         "macro not allowed in prologue",          "incomplete prologue, terminated by",
         "macro not allowed in body",          "skipping prologue macro in body",
   
         /* related to document structure */          /* related to document structure */
         ".so is fragile, better use ln(1)",          ".so is fragile, better use ln(1)",
         "no document body",          "no document body",
         "content before the first section header",          "content before first section header",
         "NAME section must come first",          "first section is not \"NAME\"",
         "bad NAME section contents",          "bad NAME section contents",
         "sections out of conventional order",          "sections out of conventional order",
         "duplicate section name",          "duplicate section title",
         "section header suited to sections 2, 3, and 9 only",          "unexpected section",
   
         /* related to macros and nesting */          /* related to macros and nesting */
         "skipping obsolete macro",          "obsolete macro",
         "skipping paragraph macro",          "skipping paragraph macro",
         "moving paragraph macro out of list",          "moving paragraph macro out of list",
         "skipping no-space macro",          "skipping no-space macro",
         "blocks badly nested",          "blocks badly nested",
         "child violates parent syntax",  
         "nested displays are not portable",          "nested displays are not portable",
         "already in literal mode",          "moving content out of list",
           ".Vt block has child macro",
           "fill mode already enabled, skipping .fi",
           "fill mode already disabled, skipping .nf",
         "line scope broken",          "line scope broken",
   
         /* related to missing macro arguments */          /* related to missing macro arguments */
Line 132  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 134  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "list type must come first",          "list type must come first",
         "tag lists require a width argument",          "tag lists require a width argument",
         "missing font type",          "missing font type",
         "skipping end of block that is not open",  
   
         /* related to bad macro arguments */          /* related to bad macro arguments */
         "skipping argument",          "skipping argument",
Line 153  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 154  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "bad escape sequence",          "bad escape sequence",
         "unterminated quoted string",          "unterminated quoted string",
   
         /* related to equations */  
         "unexpected literal in equation",  
   
         "generic error",          "generic error",
   
         /* related to equations */          /* related to equations */
Line 179  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 177  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "skipping bad character",          "skipping bad character",
         "escaped character not allowed in a name",          "escaped character not allowed in a name",
         "manual name not yet set",          "manual name not yet set",
         "skipping text before the first section header",          "skipping text before first section header",
         "skipping unknown macro",          "skipping unknown macro",
         "NOT IMPLEMENTED, please use groff: skipping request",          "NOT IMPLEMENTED, please use groff: skipping request",
         "argument count wrong",          "argument count wrong",
           "skipping invalid content in .Rs block",
         "skipping column outside column list",          "skipping column outside column list",
         "skipping end of block that is not open",          "skipping end of block that is not open",
         "missing end of block",          "missing end of block",
Line 194  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 193  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "request requires a numeric argument",          "request requires a numeric argument",
         "missing list type",          "missing list type",
         "line argument(s) will be lost",          "line argument(s) will be lost",
         "body argument(s) will be lost",  
   
         "generic fatal error",          "generic fatal error",
   
Line 206  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 204  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "child violates parent syntax",          "child violates parent syntax",
         "argument count wrong, violates syntax",          "argument count wrong, violates syntax",
         "NOT IMPLEMENTED: .so with absolute path or \"..\"",          "NOT IMPLEMENTED: .so with absolute path or \"..\"",
           ".so request failed",
         "no document prologue",          "no document prologue",
         "static buffer exhausted",          "static buffer exhausted",
   
Line 506  rerun:
Line 505  rerun:
                         if (curp->secondary)                          if (curp->secondary)
                                 curp->secondary->sz -= pos + 1;                                  curp->secondary->sz -= pos + 1;
                         mparse_readfd(curp, -1, ln.buf + of);                          mparse_readfd(curp, -1, ln.buf + of);
                         if (MANDOCLEVEL_FATAL <= curp->file_status)                          if (MANDOCLEVEL_FATAL <= curp->file_status) {
                                   mandoc_vmsg(MANDOCERR_SO_FAIL,
                                       curp, curp->line, pos,
                                       ".so %s", ln.buf + of);
                                 break;                                  break;
                           }
                         pos = 0;                          pos = 0;
                         continue;                          continue;
                 default:                  default:

Legend:
Removed from v.1.51  
changed lines
  Added in v.1.57

CVSweb