summaryrefslogtreecommitdiffstats
path: root/usr.bin/mandoc/man.h
diff options
context:
space:
mode:
authorschwarze <schwarze@openbsd.org>2010-10-15 20:45:03 +0000
committerschwarze <schwarze@openbsd.org>2010-10-15 20:45:03 +0000
commit69615b3529bd47f73a5c431c091fb8baf554096c (patch)
tree2e5629aa7c957885af7c81d74231a8431075c39f /usr.bin/mandoc/man.h
parentRemove redundant definition (diff)
downloadwireguard-openbsd-69615b3529bd47f73a5c431c091fb8baf554096c.tar.xz
wireguard-openbsd-69615b3529bd47f73a5c431c091fb8baf554096c.zip
Minimal glue to integrate tbl into the mandoc man(7) parser and formatter.
The output dosn't look nice yet, escape handling is still missing, but will follow soon. "move forward aggressively :-)" deraadt@
Diffstat (limited to 'usr.bin/mandoc/man.h')
-rw-r--r--usr.bin/mandoc/man.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.bin/mandoc/man.h b/usr.bin/mandoc/man.h
index 732a565d0ba..a838c82f907 100644
--- a/usr.bin/mandoc/man.h
+++ b/usr.bin/mandoc/man.h
@@ -1,4 +1,4 @@
-/* $Id: man.h,v 1.26 2010/08/20 00:53:35 schwarze Exp $ */
+/* $Id: man.h,v 1.27 2010/10/15 20:45:03 schwarze Exp $ */
/*
* Copyright (c) 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -57,6 +57,8 @@ enum mant {
MAN_Ve,
MAN_AT,
MAN_in,
+ MAN_TS,
+ MAN_TE,
MAN_MAX
};
@@ -95,6 +97,9 @@ struct man_node {
char *string;
struct man_node *head;
struct man_node *body;
+ union {
+ struct tbl *TS;
+ } data;
};
extern const char *const *man_macronames;