version 1.161, 2014/10/11 21:14:16 |
version 1.165, 2014/10/25 01:03:52 |
Line 104 enum mandocerr { |
|
Line 104 enum mandocerr { |
|
MANDOCERR_BF_NOFONT, /* missing font type, using \fR: Bf */ |
MANDOCERR_BF_NOFONT, /* missing font type, using \fR: Bf */ |
MANDOCERR_BF_BADFONT, /* unknown font type, using \fR: Bf font */ |
MANDOCERR_BF_BADFONT, /* unknown font type, using \fR: Bf font */ |
MANDOCERR_ARG_STD, /* missing -std argument, adding it: macro */ |
MANDOCERR_ARG_STD, /* missing -std argument, adding it: macro */ |
|
MANDOCERR_EQN_NOBOX, /* missing eqn box, using "": op */ |
|
|
/* related to bad arguments */ |
/* related to bad arguments */ |
MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */ |
MANDOCERR_ARG_QUOTE, /* unterminated quoted argument */ |
Line 134 enum mandocerr { |
|
Line 135 enum mandocerr { |
|
MANDOCERR_EQNSCOPE, /* equation scope open on exit */ |
MANDOCERR_EQNSCOPE, /* equation scope open on exit */ |
MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */ |
MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */ |
MANDOCERR_EQNEOF, /* unexpected end of equation */ |
MANDOCERR_EQNEOF, /* unexpected end of equation */ |
MANDOCERR_EQNSYNT, /* equation syntax error */ |
|
|
|
/* related to tables */ |
/* related to tables */ |
MANDOCERR_TBL, /* bad table syntax */ |
MANDOCERR_TBL, /* bad table syntax */ |
Line 166 enum mandocerr { |
|
Line 166 enum mandocerr { |
|
MANDOCERR_IT_NONUM, /* skipping request without numeric argument */ |
MANDOCERR_IT_NONUM, /* skipping request without numeric argument */ |
MANDOCERR_ARG_SKIP, /* skipping all arguments: macro args */ |
MANDOCERR_ARG_SKIP, /* skipping all arguments: macro args */ |
MANDOCERR_ARG_EXCESS, /* skipping excess arguments: macro ... args */ |
MANDOCERR_ARG_EXCESS, /* skipping excess arguments: macro ... args */ |
|
MANDOCERR_DIVZERO, /* divide by zero */ |
|
|
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */ |
MANDOCERR_FATAL, /* ===== start of fatal errors ===== */ |
|
|
Line 246 struct tbl_cell { |
|
Line 247 struct tbl_cell { |
|
#define TBL_CELL_EQUAL (1 << 4) /* e, E */ |
#define TBL_CELL_EQUAL (1 << 4) /* e, E */ |
#define TBL_CELL_UP (1 << 5) /* u, U */ |
#define TBL_CELL_UP (1 << 5) /* u, U */ |
#define TBL_CELL_WIGN (1 << 6) /* z, Z */ |
#define TBL_CELL_WIGN (1 << 6) /* z, Z */ |
|
#define TBL_CELL_WMAX (1 << 7) /* x, X */ |
struct tbl_head *head; |
struct tbl_head *head; |
}; |
}; |
|
|
|
|
#define MPARSE_MAN 2 /* assume -man */ |
#define MPARSE_MAN 2 /* assume -man */ |
#define MPARSE_SO 4 /* honour .so requests */ |
#define MPARSE_SO 4 /* honour .so requests */ |
#define MPARSE_QUICK 8 /* abort the parse early */ |
#define MPARSE_QUICK 8 /* abort the parse early */ |
|
#define MPARSE_UTF8 16 /* accept UTF-8 input */ |
|
#define MPARSE_LATIN1 32 /* accept ISO-LATIN-1 input */ |
|
|
enum mandoc_esc { |
enum mandoc_esc { |
ESCAPE_ERROR = 0, /* bail! unparsable escape */ |
ESCAPE_ERROR = 0, /* bail! unparsable escape */ |