aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 15:21:13 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 15:21:13 +0000
commit3ee412a268eff0c9e52bb141dc3289eda00a6d53 (patch)
treec7806e338a7f518f1e0d02ab42c28e4ce822a405 /mandoc.h
parent610da288ad1c36332f5bc333692f49e2326fa30d (diff)
downloadmandoc-3ee412a268eff0c9e52bb141dc3289eda00a6d53.tar.gz
mandoc-3ee412a268eff0c9e52bb141dc3289eda00a6d53.tar.zst
mandoc-3ee412a268eff0c9e52bb141dc3289eda00a6d53.zip
Support `size' constructs in eqn.7. Generalise mandoc_strontou to this
effect.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index cd29e688..556a88a8 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.87 2011/07/21 14:13:00 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.88 2011/07/21 15:21:13 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -322,6 +322,8 @@ enum eqn_post {
* grammar.
*/
struct eqn_box {
+ int size; /* font size of expression */
+#define EQN_DEFSIZE INT_MIN
enum eqn_boxt type; /* type of node */
struct eqn_box *child; /* child node */
struct eqn_box *next; /* next in tree */