version 1.114, 2015/04/02 21:36:50 |
version 1.115, 2015/04/02 22:48:17 |
|
|
#include "libmandoc.h" |
#include "libmandoc.h" |
#include "libman.h" |
#include "libman.h" |
|
|
#define CHKARGS struct man *man, struct man_node *n |
#define CHKARGS struct man *man, struct roff_node *n |
|
|
typedef void (*v_check)(CHKARGS); |
typedef void (*v_check)(CHKARGS); |
|
|
Line 100 static v_check man_valids[MAN_MAX] = { |
|
Line 100 static v_check man_valids[MAN_MAX] = { |
|
void |
void |
man_valid_post(struct man *man) |
man_valid_post(struct man *man) |
{ |
{ |
struct man_node *n; |
struct roff_node *n; |
v_check *cp; |
v_check *cp; |
|
|
n = man->last; |
n = man->last; |
Line 300 post_IP(CHKARGS) |
|
Line 300 post_IP(CHKARGS) |
|
static void |
static void |
post_TH(CHKARGS) |
post_TH(CHKARGS) |
{ |
{ |
struct man_node *nb; |
struct roff_node *nb; |
const char *p; |
const char *p; |
|
|
free(man->meta.title); |
free(man->meta.title); |
Line 460 post_AT(CHKARGS) |
|
Line 460 post_AT(CHKARGS) |
|
"System V Release 2", |
"System V Release 2", |
}; |
}; |
|
|
|
struct roff_node *nn; |
const char *p, *s; |
const char *p, *s; |
struct man_node *nn; |
|
|
|
n = n->child; |
n = n->child; |
|
|