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

Diff for /mandoc/read.c between version 1.50 and 1.53

version 1.50, 2014/06/20 23:02:31 version 1.53, 2014/06/30 23:45:08
Line 153  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 153  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 194  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 191  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 202  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",
   
         /* system errors */          /* system errors */
         "cannot open file",          NULL,
         "cannot stat file",          "cannot stat file",
         "cannot read file",          "cannot read file",
 };  };
Line 506  rerun:
Line 503  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.50  
changed lines
  Added in v.1.53

CVSweb