version 1.1, 2017/05/04 22:16:09 |
version 1.2, 2017/05/05 02:06:19 |
|
|
#include <sys/types.h> |
#include <sys/types.h> |
|
|
#include <assert.h> |
#include <assert.h> |
|
#include <stddef.h> |
|
|
#include "roff.h" |
#include "roff.h" |
#include "out.h" |
#include "out.h" |
Line 30 static void roff_html_pre_br(ROFF_HTML_ARGS); |
|
Line 31 static void roff_html_pre_br(ROFF_HTML_ARGS); |
|
|
|
static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = { |
static const roff_html_pre_fp roff_html_pre_acts[ROFF_MAX] = { |
roff_html_pre_br, /* br */ |
roff_html_pre_br, /* br */ |
|
NULL, /* ft */ |
}; |
}; |
|
|
|
|
|
|
roff_html_pre(struct html *h, const struct roff_node *n) |
roff_html_pre(struct html *h, const struct roff_node *n) |
{ |
{ |
assert(n->tok < ROFF_MAX); |
assert(n->tok < ROFF_MAX); |
(*roff_html_pre_acts[n->tok])(h, n); |
if (roff_html_pre_acts[n->tok] != NULL) |
|
(*roff_html_pre_acts[n->tok])(h, n); |
} |
} |
|
|
static void |
static void |