version 1.7, 2019/07/10 19:39:01 |
version 1.9, 2020/01/19 16:44:50 |
|
|
/* $Id$ */ |
/* $Id$ */ |
/* |
/* |
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> |
* Copyright (c) 2014-2019 Ingo Schwarze <schwarze@openbsd.org> |
* Copyright (c) 2014-2020 Ingo Schwarze <schwarze@openbsd.org> |
* |
* |
* Permission to use, copy, modify, and distribute this software for any |
* Permission to use, copy, modify, and distribute this software for any |
* purpose with or without fee is hereby granted, provided that the above |
* purpose with or without fee is hereby granted, provided that the above |
Line 83 static const char *const type_message[MANDOCERR_MAX] = |
|
Line 83 static const char *const type_message[MANDOCERR_MAX] = |
|
"missing manual title, using \"\"", |
"missing manual title, using \"\"", |
"missing manual section, using \"\"", |
"missing manual section, using \"\"", |
"unknown manual section", |
"unknown manual section", |
"missing date, using today's date", |
"missing date, using \"\"", |
"cannot parse date, using it verbatim", |
"cannot parse date, using it verbatim", |
"date in the future, using it anyway", |
"date in the future, using it anyway", |
"missing Os macro, using \"\"", |
"missing Os macro, using \"\"", |
Line 354 mandoc_msg(enum mandocerr t, int line, int col, const |
|
Line 354 mandoc_msg(enum mandocerr t, int line, int col, const |
|
va_end(ap); |
va_end(ap); |
} |
} |
fputc('\n', fileptr); |
fputc('\n', fileptr); |
|
} |
|
|
|
void |
|
mandoc_msg_summary(void) |
|
{ |
|
if (fileptr != NULL && rc != MANDOCLEVEL_OK) |
|
fprintf(fileptr, |
|
"%s: see above the output for %s messages\n", |
|
getprogname(), level_name[rc]); |
} |
} |