version 1.169, 2015/02/02 19:23:23 |
version 1.170, 2015/02/03 00:48:47 |
Line 1459 in_line_argn(MACRO_PROT_ARGS) |
|
Line 1459 in_line_argn(MACRO_PROT_ARGS) |
|
static void |
static void |
in_line_eoln(MACRO_PROT_ARGS) |
in_line_eoln(MACRO_PROT_ARGS) |
{ |
{ |
struct mdoc_arg *arg; |
struct mdoc_node *n; |
|
struct mdoc_arg *arg; |
|
|
if (tok == MDOC_Pp) |
if ((tok == MDOC_Pp || tok == MDOC_Lp) && |
rew_sub(MDOC_BLOCK, mdoc, MDOC_Nm, line, ppos); |
! (mdoc->flags & MDOC_SYNOPSIS)) { |
|
n = mdoc->last; |
|
if (mdoc->next == MDOC_NEXT_SIBLING) |
|
n = n->parent; |
|
if (n->tok == MDOC_Nm) |
|
rew_last(mdoc, mdoc->last->parent); |
|
} |
|
|
mdoc_argv(mdoc, line, tok, &arg, pos, buf); |
mdoc_argv(mdoc, line, tok, &arg, pos, buf); |
mdoc_elem_alloc(mdoc, line, ppos, tok, arg); |
mdoc_elem_alloc(mdoc, line, ppos, tok, arg); |