summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 20:36:36 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-02-06 20:36:36 +0000
commit858bb68c9059fe5b8f8f613dab2761233ff36ba7 (patch)
tree570b9749d9aa62c9ea90cef7bcc920ac1ed44829 /mandoc.h
parent07e8fdac90d41ba0de90ac17f5081f6feb4b4b99 (diff)
downloadmandoc-858bb68c9059fe5b8f8f613dab2761233ff36ba7.tar.gz
Add initial EQN support to mandoc. This parses, then throws away, data
between EQ and EN roff blocks. EQN is different from TBL in that data after .EQ is unilaterally considered an equation until an .EN. Thus, there's no need to jump through hoops in having table spans and so on. This is ONLY the parse code framework in libroff. EQN is not yet passed into the backends.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 704ec745..56d45ebc 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -267,6 +267,11 @@ struct tbl_span {
struct tbl_span *next;
};
+struct eqn {
+ size_t sz;
+ char *data;
+};
+
/*
* Available registers (set in libroff, accessed elsewhere).
*/