version 1.62, 2014/07/05 01:12:20 |
version 1.70, 2014/07/30 00:19:16 |
|
|
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 136 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
Line 136 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
"missing display type, using -ragged", |
"missing display type, using -ragged", |
"list type is not the first argument", |
"list type is not the first argument", |
"missing -width in -tag list, using 8n", |
"missing -width in -tag list, using 8n", |
|
"missing name for .Ex, using \"\"", |
"empty head in list item", |
"empty head in list item", |
"empty list item", |
"empty list item", |
"missing font type, using \\fR", |
"missing font type, using \\fR", |
Line 144 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
Line 145 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", |
"duplicate display type", |
"skipping duplicate display type", |
"duplicate list type", |
"skipping duplicate list type", |
"unknown AT&T UNIX version", |
"unknown AT&T UNIX version", |
"bad Boolean value", |
"invalid content in Rs block", |
"unknown font", |
"invalid Boolean argument", |
"unknown standard specifier", |
"unknown font, skipping request", |
"bad width argument", |
|
|
|
/* 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 180 static const char * const mandocerrs[MANDOCERR_MAX] = |
|
Line 181 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", |
"escaped character not allowed in a name", |
|
"manual name not yet set", |
|
"skipping text before first section header", |
|
"skipping unknown macro", |
"skipping unknown macro", |
"NOT IMPLEMENTED, please use groff: skipping request", |
|
"argument count wrong", |
|
"skipping invalid content in .Rs block", |
|
"skipping column outside column list", |
"skipping column outside column list", |
"skipping end of block that is not open", |
"skipping end of block that is not open", |
"missing end of block", |
"inserting missing end of block", |
"scope open on exit", |
"appending missing end of block", |
|
|
|
/* related to request and macro arguments */ |
|
"escaped character not allowed in a name", |
|
"argument count wrong", |
|
"missing manual name, using \"\"", |
|
"unknown standard specifier", |
"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", |
|
|
|
|
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; |
|
|