version 1.9, 2009/06/10 20:18:43 |
version 1.10, 2009/06/12 09:18:00 |
Line 56 static int post_bl_tagwidth(POST_ARGS); |
|
Line 56 static int post_bl_tagwidth(POST_ARGS); |
|
static int post_dd(POST_ARGS); |
static int post_dd(POST_ARGS); |
static int post_display(POST_ARGS); |
static int post_display(POST_ARGS); |
static int post_dt(POST_ARGS); |
static int post_dt(POST_ARGS); |
|
static int post_lk(POST_ARGS); |
static int post_nm(POST_ARGS); |
static int post_nm(POST_ARGS); |
static int post_os(POST_ARGS); |
static int post_os(POST_ARGS); |
static int post_prol(POST_ARGS); |
static int post_prol(POST_ARGS); |
Line 179 const struct actions mdoc_actions[MDOC_MAX] = { |
|
Line 180 const struct actions mdoc_actions[MDOC_MAX] = { |
|
{ NULL, NULL }, /* Lb */ |
{ NULL, NULL }, /* Lb */ |
{ NULL, NULL }, /* Ap */ |
{ NULL, NULL }, /* Ap */ |
{ NULL, NULL }, /* Lp */ |
{ NULL, NULL }, /* Lp */ |
{ NULL, NULL }, /* Lk */ |
{ NULL, post_lk }, /* Lk */ |
{ NULL, NULL }, /* Mt */ |
{ NULL, NULL }, /* Mt */ |
{ NULL, NULL }, /* Brq */ |
{ NULL, NULL }, /* Brq */ |
{ NULL, NULL }, /* Bro */ |
{ NULL, NULL }, /* Bro */ |
Line 664 post_bl(POST_ARGS) |
|
Line 665 post_bl(POST_ARGS) |
|
if ( ! post_bl_width(m)) |
if ( ! post_bl_width(m)) |
return(0); |
return(0); |
|
|
|
return(1); |
|
} |
|
|
|
|
|
static int |
|
post_lk(POST_ARGS) |
|
{ |
|
struct mdoc_node *n; |
|
|
|
if (m->last->child) |
|
return(1); |
|
|
|
n = m->last; |
|
m->next = MDOC_NEXT_CHILD; |
|
/* FIXME: this isn't documented anywhere! */ |
|
if ( ! mdoc_word_alloc(m, m->last->line, |
|
m->last->pos, "~")) |
|
return(0); |
|
|
|
m->last = n; |
|
m->next = MDOC_NEXT_SIBLING; |
return(1); |
return(1); |
} |
} |
|
|