diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 20:36:36 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-06 20:36:36 +0000 |
commit | 858bb68c9059fe5b8f8f613dab2761233ff36ba7 (patch) | |
tree | 570b9749d9aa62c9ea90cef7bcc920ac1ed44829 /mandoc.h | |
parent | 07e8fdac90d41ba0de90ac17f5081f6feb4b4b99 (diff) | |
download | mandoc-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.h | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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). */ |