version 1.7, 2010/05/25 12:37:20 |
version 1.12, 2010/06/12 11:41:50 |
|
|
enum mandocerr { |
enum mandocerr { |
MANDOCERR_OK, |
MANDOCERR_OK, |
MANDOCERR_UPPERCASE, /* text should be uppercase */ |
MANDOCERR_UPPERCASE, /* text should be uppercase */ |
MANDOCERR_SECOOO, /* sections out of conentional order */ |
MANDOCERR_SECOOO, /* sections out of conventional order */ |
MANDOCERR_SECREP, /* section name repeats */ |
MANDOCERR_SECREP, /* section name repeats */ |
MANDOCERR_PROLOGOOO, /* out of order prologue */ |
MANDOCERR_PROLOGOOO, /* out of order prologue */ |
MANDOCERR_PROLOGREP, /* repeated prologue entry */ |
MANDOCERR_PROLOGREP, /* repeated prologue entry */ |
MANDOCERR_LISTFIRST, /* list type must come first */ |
MANDOCERR_LISTFIRST, /* list type must come first */ |
MANDOCERR_COLUMNS, /* column syntax is inconsistent */ |
|
MANDOCERR_BADSTANDARD, /* bad standard */ |
MANDOCERR_BADSTANDARD, /* bad standard */ |
MANDOCERR_BADLIB, /* bad library */ |
MANDOCERR_BADLIB, /* bad library */ |
MANDOCERR_BADESCAPE, /* bad escape sequence */ |
MANDOCERR_BADESCAPE, /* bad escape sequence */ |
MANDOCERR_BADQUOTE, /* unterminated quoted string */ |
MANDOCERR_BADQUOTE, /* unterminated quoted string */ |
MANDOCERR_NOWIDTHARG, /* argument requires the width argument */ |
MANDOCERR_NOWIDTHARG, /* argument requires the width argument */ |
|
/* FIXME: merge with MANDOCERR_IGNARGV. */ |
MANDOCERR_WIDTHARG, /* superfluous width argument */ |
MANDOCERR_WIDTHARG, /* superfluous width argument */ |
|
MANDOCERR_IGNARGV, /* macro ignoring argv */ |
MANDOCERR_BADDATE, /* bad date argument */ |
MANDOCERR_BADDATE, /* bad date argument */ |
MANDOCERR_BADWIDTH, /* bad width argument */ |
MANDOCERR_BADWIDTH, /* bad width argument */ |
MANDOCERR_BADMSEC, /* unknown manual sction */ |
MANDOCERR_BADMSEC, /* unknown manual section */ |
MANDOCERR_SECMSEC, /* section not in conventional manual section */ |
MANDOCERR_SECMSEC, /* section not in conventional manual section */ |
MANDOCERR_EOLNSPACE, /* end of line whitespace */ |
MANDOCERR_EOLNSPACE, /* end of line whitespace */ |
MANDOCERR_SCOPEEXIT, /* scope open on exit */ |
MANDOCERR_SCOPEEXIT, /* scope open on exit */ |
|
|
MANDOCERR_NOBODY, /* macro requires body argument(s) */ |
MANDOCERR_NOBODY, /* macro requires body argument(s) */ |
MANDOCERR_NOARGV, /* macro requires argument(s) */ |
MANDOCERR_NOARGV, /* macro requires argument(s) */ |
MANDOCERR_NOTITLE, /* no title in document */ |
MANDOCERR_NOTITLE, /* no title in document */ |
|
MANDOCERR_LISTTYPE, /* missing list type */ |
|
MANDOCERR_DISPTYPE, /* missing display type */ |
MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ |
MANDOCERR_ARGSLOST, /* line argument(s) will be lost */ |
MANDOCERR_BODYLOST, /* body argument(s) will be lost */ |
MANDOCERR_BODYLOST, /* body argument(s) will be lost */ |
#define MANDOCERR_ERROR MANDOCERR_BODYLOST |
#define MANDOCERR_ERROR MANDOCERR_BODYLOST |
|
|
|
MANDOCERR_COLUMNS, /* column syntax is inconsistent */ |
/* FIXME: this should be a MANDOCERR_ERROR */ |
/* FIXME: this should be a MANDOCERR_ERROR */ |
MANDOCERR_FONTTYPE, /* missing font type */ |
MANDOCERR_FONTTYPE, /* missing font type */ |
/* FIXME: this should be a MANDOCERR_ERROR */ |
/* FIXME: this should be a MANDOCERR_ERROR */ |
MANDOCERR_DISPTYPE, /* missing display type */ |
|
/* FIXME: this should be a MANDOCERR_ERROR */ |
|
MANDOCERR_LISTTYPE, /* missing list type */ |
|
/* FIXME: this should be a MANDOCERR_ERROR */ |
|
MANDOCERR_NESTEDDISP, /* displays may not be nested */ |
MANDOCERR_NESTEDDISP, /* displays may not be nested */ |
|
MANDOCERR_BADDISP, /* unsupported display type */ |
MANDOCERR_SYNTNOSCOPE, /* request scope close w/none open */ |
MANDOCERR_SYNTNOSCOPE, /* request scope close w/none open */ |
MANDOCERR_SYNTSCOPE, /* scope broken, syntax violated */ |
MANDOCERR_SYNTSCOPE, /* scope broken, syntax violated */ |
MANDOCERR_SYNTLINESCOPE, /* line scope broken, syntax violated */ |
MANDOCERR_SYNTLINESCOPE, /* line scope broken, syntax violated */ |