version 1.2, 2018/12/14 05:18:02 |
version 1.5, 2019/01/10 06:29:00 |
|
|
/* $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 167 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 167 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 229 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 240 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; |