version 1.30, 2010/04/07 23:15:05 |
version 1.31, 2010/05/14 01:54:37 |
|
|
|
|
static int concat(struct mdoc *, char *, |
static int concat(struct mdoc *, char *, |
const struct mdoc_node *, size_t); |
const struct mdoc_node *, size_t); |
static inline int order_rs(int); |
static inline int order_rs(enum mdoct); |
|
|
static int post_ar(POST_ARGS); |
static int post_ar(POST_ARGS); |
static int post_at(POST_ARGS); |
static int post_at(POST_ARGS); |
|
|
|
|
#define RSORD_MAX 14 |
#define RSORD_MAX 14 |
|
|
static const int rsord[RSORD_MAX] = { |
static const enum mdoct rsord[RSORD_MAX] = { |
MDOC__A, |
MDOC__A, |
MDOC__T, |
MDOC__T, |
MDOC__B, |
MDOC__B, |
|
|
|
|
|
|
static inline int |
static inline int |
order_rs(int t) |
order_rs(enum mdoct t) |
{ |
{ |
int i; |
int i; |
|
|
for (i = 0; i < RSORD_MAX; i++) |
for (i = 0; i < (int)RSORD_MAX; i++) |
if (rsord[i] == t) |
if (rsord[i] == t) |
return(i); |
return(i); |
|
|