X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/9e21548672490d99d4a59ab449c80b3721689818..9ee0c488875a7038d68ac110a3ac03d81c6f14a1:/man.h diff --git a/man.h b/man.h index 85d000b3..8611125e 100644 --- a/man.h +++ b/man.h @@ -1,4 +1,4 @@ -/* $Id: man.h,v 1.15 2009/07/04 09:01:55 kristaps Exp $ */ +/* $Id: man.h,v 1.20 2009/08/22 09:10:38 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -42,12 +42,23 @@ #define MAN_RI 20 #define MAN_na 21 #define MAN_i 22 -#define MAN_MAX 23 +#define MAN_sp 23 +#define MAN_nf 24 +#define MAN_fi 25 +#define MAN_r 26 +#define MAN_RE 27 +#define MAN_RS 28 +#define MAN_DT 29 +#define MAN_UC 30 +#define MAN_MAX 31 enum man_type { MAN_TEXT, MAN_ELEM, - MAN_ROOT + MAN_ROOT, + MAN_BLOCK, + MAN_HEAD, + MAN_BODY }; struct man_meta { @@ -72,6 +83,8 @@ struct man_node { #define MAN_ACTED (1 << 1) enum man_type type; char *string; + struct man_node *head; + struct man_node *body; }; #define MAN_IGN_MACRO (1 << 0)