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

Diff for /mandoc/read.c between version 1.63 and 1.69

version 1.63, 2014/07/05 12:34:17 version 1.69, 2014/07/09 11:31:43
Line 65  struct mparse {
Line 65  struct mparse {
         mandocmsg         mmsg; /* warning/error message handler */          mandocmsg         mmsg; /* warning/error message handler */
         const char       *file;          const char       *file;
         struct buf       *secondary;          struct buf       *secondary;
         char             *defos; /* default operating system */          const char       *defos; /* default operating system */
 };  };
   
 static  void      resize_buf(struct buf *, size_t);  static  void      resize_buf(struct buf *, size_t);
Line 144  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 144  static const char * const mandocerrs[MANDOCERR_MAX] = 
   
         /* related to bad macro arguments */          /* related to bad macro arguments */
         "skipping argument",          "skipping argument",
           "unterminated quoted argument",
         "duplicate argument",          "duplicate argument",
         "skipping duplicate display type",          "skipping duplicate display type",
         "skipping duplicate list type",          "skipping duplicate list type",
         "unknown AT&T UNIX version",          "unknown AT&T UNIX version",
           "invalid content in Rs block",
         "invalid Boolean argument",          "invalid Boolean argument",
         "unknown font, skipping request",          "unknown font, skipping request",
   
         /* related to plain text */          /* related to plain text */
         "blank line in non-literal context",          "blank line in fill mode, using .sp",
         "tab in non-literal context",          "tab in filled text",
         "end of line whitespace",          "whitespace at end of input line",
         "bad comment style",          "bad comment style",
         "bad escape sequence",          "invalid escape sequence",
         "unterminated quoted string",          "undefined string, using \"\"",
   
         "generic error",          "generic error",
   
Line 178  static const char * const mandocerrs[MANDOCERR_MAX] = 
Line 180  static const char * const mandocerrs[MANDOCERR_MAX] = 
         "data block still open",          "data block still open",
         "ignoring extra data cells",          "ignoring extra data cells",
   
           /* related to document structure and macros */
         "input stack limit exceeded, infinite loop?",          "input stack limit exceeded, infinite loop?",
         "skipping bad character",          "skipping bad character",
           "skipping unknown macro",
           "skipping column outside column list",
           "skipping end of block that is not open",
           "inserting missing end of block",
           "appending missing end of block",
   
           /* related to request and macro arguments */
         "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 first section header",  
         "skipping unknown macro",  
         "NOT IMPLEMENTED, please use groff: skipping request",  
         "argument count wrong",          "argument count wrong",
         "skipping invalid content in .Rs block",  
         "unknown standard specifier",          "unknown standard specifier",
         "skipping column outside column list",  
         "skipping end of block that is not open",  
         "missing end of block",  
         "scope open on exit",  
         "uname(3) system call failed",          "uname(3) system call failed",
         "request requires a numeric argument",          "request requires a numeric argument",
         "missing list type, using -item",          "missing list type, using -item",
Line 779  out:
Line 781  out:
   
 struct mparse *  struct mparse *
 mparse_alloc(int options, enum mandoclevel wlevel,  mparse_alloc(int options, enum mandoclevel wlevel,
                 mandocmsg mmsg, char *defos)                  mandocmsg mmsg, const char *defos)
 {  {
         struct mparse   *curp;          struct mparse   *curp;
   

Legend:
Removed from v.1.63  
changed lines
  Added in v.1.69

CVSweb