version 1.11, 2018/12/14 01:18:26 |
version 1.13, 2018/12/31 04:55:47 |
|
|
#include "roff.h" |
#include "roff.h" |
#include "mdoc.h" |
#include "mdoc.h" |
#include "libmandoc.h" |
#include "libmandoc.h" |
|
#include "roff_int.h" |
#include "libmdoc.h" |
#include "libmdoc.h" |
|
|
#define STATE_ARGS struct roff_man *mdoc, struct roff_node *n |
#define STATE_ARGS struct roff_man *mdoc, struct roff_node *n |
Line 176 mdoc_state(struct roff_man *mdoc, struct roff_node *n) |
|
Line 177 mdoc_state(struct roff_man *mdoc, struct roff_node *n) |
|
handler = state_handlers[n->tok - MDOC_Dd]; |
handler = state_handlers[n->tok - MDOC_Dd]; |
if (*handler) |
if (*handler) |
(*handler)(mdoc, n); |
(*handler)(mdoc, n); |
} |
|
|
|
void |
|
mdoc_state_reset(struct roff_man *mdoc) |
|
{ |
|
|
|
roff_setreg(mdoc->roff, "nS", 0, '='); |
|
mdoc->flags = 0; |
|
} |
} |
|
|
static void |
static void |