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

Diff for /mandoc/mandoc_msg.c between version 1.2 and 1.6

version 1.2, 2018/12/14 05:18:02 version 1.6, 2019/03/06 15:55:38
Line 1 
Line 1 
 /*      $OpenBSD$ */  /*      $Id$ */
 /*  /*
  * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>   * Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org>   * Copyright (c) 2014,2015,2016,2017,2018 Ingo Schwarze <schwarze@openbsd.org>
Line 15 
Line 15 
  * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
  * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.   * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */   */
   #include "config.h"
   
 #include <stdarg.h>  #include <stdarg.h>
 #include <stdio.h>  #include <stdio.h>
 #include <stdlib.h>  #include <stdlib.h>
Line 167  static const char *const type_message[MANDOCERR_MAX] =
Line 169  static const char *const type_message[MANDOCERR_MAX] =
         "tab in filled text",          "tab in filled text",
         "new sentence, new line",          "new sentence, new line",
         "invalid escape sequence",          "invalid escape sequence",
           "undefined escape, printing literally",
         "undefined string, using \"\"",          "undefined string, using \"\"",
   
         /* related to tables */          /* related to tables */
Line 228  static const char *const type_message[MANDOCERR_MAX] =
Line 231  static const char *const type_message[MANDOCERR_MAX] =
         "unsupported feature",          "unsupported feature",
         "input too large",          "input too large",
         "unsupported control character",          "unsupported control character",
           "unsupported escape sequence",
         "unsupported roff request",          "unsupported roff request",
         "nested .while loops",          "nested .while loops",
         "end of scope with open .while loop",          "end of scope with open .while loop",
Line 238  static const char *const type_message[MANDOCERR_MAX] =
Line 242  static const char *const type_message[MANDOCERR_MAX] =
         "ignoring macro in table",          "ignoring macro in table",
 };  };
   
 static  FILE            *fileptr = stderr;  static  FILE            *fileptr = NULL;
 static  const char      *filename = NULL;  static  const char      *filename = NULL;
 static  enum mandocerr   min_type = MANDOCERR_MAX;  static  enum mandocerr   min_type = MANDOCERR_MAX;
 static  enum mandoclevel rc = MANDOCLEVEL_OK;  static  enum mandoclevel rc = MANDOCLEVEL_OK;

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.6

CVSweb