summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 12:01:54 +0000
commit581b17ce0c02a39a5fd6e297867f2ade9b2f3c63 (patch)
treecef51f2be08f7d2ae3a32b594b759ec0f7b63f7e /mandoc.h
parent2252d1a2cee8d276065b3b219c4566d375827af8 (diff)
downloadmandoc-581b17ce0c02a39a5fd6e297867f2ade9b2f3c63.tar.gz
Add matrix support. Also remove "above" notion, as all elements in a
list are delimited by their "aboveness" and it's superfluous.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 8f91cafe..7928fde0 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -285,7 +285,8 @@ enum eqn_boxt {
EQN_ROOT, /* root of parse tree */
EQN_TEXT, /* text (number, variable, whatever) */
EQN_SUBEXPR, /* nested `eqn' subexpression */
- EQN_LIST /* list of subexpressions */
+ EQN_LIST, /* subexpressions list */
+ EQN_MATRIX /* matrix subexpression */
};
enum eqn_markt {
@@ -324,6 +325,9 @@ enum eqn_pilet {
EQNPILE_CPILE,
EQNPILE_RPILE,
EQNPILE_LPILE,
+ EQNPILE_CCOL,
+ EQNPILE_RCOL,
+ EQNPILE_LCOL,
EQNPILE__MAX
};
@@ -346,7 +350,6 @@ struct eqn_box {
enum eqn_markt mark; /* a mark about the box */
enum eqn_fontt font; /* font of box */
enum eqn_pilet pile; /* equation piling */
- int above; /* next node is above */
};
/*