summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-28 11:32:08 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-28 11:32:08 +0000
commitb4ad463b0c72a6199c558ac2e87077f7773d5f9d (patch)
treee4b77332a6b56b892e5d6c86463c53d9963a4772 /mandoc.h
parent2de34eb0e01415539c913fb6e544bc4e76fd913c (diff)
downloadmandoc-b4ad463b0c72a6199c558ac2e87077f7773d5f9d.tar.gz
Add support for EQNPOS_SUBSUP and a doubly-linked eqn_box list.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index 4f7a193d..6fcab1e8 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -336,6 +336,7 @@ enum eqn_post {
EQNPOS_NONE = 0,
EQNPOS_OVER,
EQNPOS_SUP,
+ EQNPOS_SUBSUP,
EQNPOS_SUB,
EQNPOS_TO,
EQNPOS_FROM,
@@ -366,6 +367,7 @@ struct eqn_box {
struct eqn_box *first; /* first child node */
struct eqn_box *last; /* last child node */
struct eqn_box *next; /* node sibling */
+ struct eqn_box *prev; /* node sibling */
struct eqn_box *parent; /* node sibling */
char *text; /* text (or NULL) */
char *left;