summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mdoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2010-10-16 13:38:30 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2010-10-16 13:38:30 +0000
commit67109423dbbc5dceafdb4ed7394ac6ed336210b5 (patch)
tree5816e1ce1de3b3993927f5e66eb1dac8241f11c2 /usr.bin/mandoc/mdoc.h
parentd9a3f1256d9f3713dffb2640546f03d48b2192b2 (diff)
Support tbl(1) code embedded into mdoc(7) input files.
Very similar to what i have done in man(7) yesterday. Allows to build cpu(4) on HPPA, wi(4), and phantasia(6). Now we are able to build all tbl code in base.
Diffstat (limited to 'usr.bin/mandoc/mdoc.h')
-rw-r--r--usr.bin/mandoc/mdoc.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/usr.bin/mandoc/mdoc.h b/usr.bin/mandoc/mdoc.h
index 79f8e96fb19..99727fdbe50 100644
--- a/usr.bin/mandoc/mdoc.h
+++ b/usr.bin/mandoc/mdoc.h
@@ -1,4 +1,4 @@
-/* $Id: mdoc.h,v 1.33 2010/08/20 00:53:35 schwarze Exp $ */
+/* $Id: mdoc.h,v 1.34 2010/10/16 13:38:29 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -150,6 +150,8 @@ enum mdoct {
MDOC_sp,
MDOC__U,
MDOC_Ta,
+ MDOC_TS,
+ MDOC_TE,
MDOC_MAX
};
@@ -345,10 +347,11 @@ struct mdoc_node {
enum mdoc_endbody end; /* BODY */
union {
- struct mdoc_an An;
- struct mdoc_bd *Bd;
- struct mdoc_bf *Bf;
- struct mdoc_bl *Bl;
+ struct mdoc_an An;
+ struct mdoc_bd *Bd;
+ struct mdoc_bf *Bf;
+ struct mdoc_bl *Bl;
+ struct tbl *TS;
} data;
};