version 1.77, 2011/05/24 21:31:23 |
version 1.83, 2011/07/21 11:34:53 |
Line 104 enum mandocerr { |
|
Line 104 enum mandocerr { |
|
MANDOCERR_BADESCAPE, /* unknown escape sequence */ |
MANDOCERR_BADESCAPE, /* unknown escape sequence */ |
MANDOCERR_BADQUOTE, /* unterminated quoted string */ |
MANDOCERR_BADQUOTE, /* unterminated quoted string */ |
|
|
|
/* related to equations */ |
|
MANDOCERR_EQNQUOTE, /* unexpected literal in equation */ |
|
|
MANDOCERR_ERROR, /* ===== start of errors ===== */ |
MANDOCERR_ERROR, /* ===== start of errors ===== */ |
|
|
|
/* related to equations */ |
|
MANDOCERR_EQNARGS, /* bad equation macro arguments */ |
|
MANDOCERR_EQNNEST, /* too many nested equation defines */ |
|
|
/* related to tables */ |
/* related to tables */ |
MANDOCERR_TBL, /* bad table syntax */ |
MANDOCERR_TBL, /* bad table syntax */ |
MANDOCERR_TBLOPT, /* bad table option */ |
MANDOCERR_TBLOPT, /* bad table option */ |
Line 270 struct tbl_span { |
|
Line 277 struct tbl_span { |
|
struct tbl_span *next; |
struct tbl_span *next; |
}; |
}; |
|
|
|
enum eqn_boxt { |
|
EQN_ROOT, |
|
EQN_TEXT |
|
}; |
|
|
|
struct eqn_box { |
|
enum eqn_boxt type; |
|
struct eqn_box *child; |
|
struct eqn_box *next; |
|
char *text; |
|
}; |
|
|
struct eqn { |
struct eqn { |
size_t sz; |
struct eqn_box *root; |
char *data; |
int ln; /* invocation line */ |
int line; /* invocation line */ |
|
int pos; /* invocation position */ |
int pos; /* invocation position */ |
}; |
}; |
|
|
Line 324 const char *mparse_strlevel(enum mandoclevel); |
|
Line 342 const char *mparse_strlevel(enum mandoclevel); |
|
void *mandoc_calloc(size_t, size_t); |
void *mandoc_calloc(size_t, size_t); |
void *mandoc_malloc(size_t); |
void *mandoc_malloc(size_t); |
void *mandoc_realloc(void *, size_t); |
void *mandoc_realloc(void *, size_t); |
|
char *mandoc_strdup(const char *); |
|
|
enum mandoc_esc mandoc_escape(const char **, const char **, int *); |
enum mandoc_esc mandoc_escape(const char **, const char **, int *); |
|
|