summaryrefslogtreecommitdiffstats
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-23 18:41:18 +0000
commit44d2f7a5fb2e3d577c9344af556326294473069d (patch)
tree1ecbd175921931b31834c13fdf382939af9b3d6a /mandoc.h
parent806c80ef1d9f307a8386c90d661a9d26f212190c (diff)
downloadmandoc-44d2f7a5fb2e3d577c9344af556326294473069d.tar.gz
Add support for tdefine and ndefine. Consolidate some error messages. Add
somem more version notes (getting there). Have the equation nanme be captured.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index dcd4927b..f5e5ba06 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -110,7 +110,6 @@ enum mandocerr {
MANDOCERR_ERROR, /* ===== start of errors ===== */
/* related to equations */
- MANDOCERR_EQNNEST, /* too many nested equation defines */
MANDOCERR_EQNNSCOPE, /* unexpected equation scope closure*/
MANDOCERR_EQNSCOPE, /* equation scope open on exit */
MANDOCERR_EQNBADSCOPE, /* overlapping equation scopes */
@@ -358,6 +357,7 @@ struct eqn_box {
* line and position.
*/
struct eqn {
+ char *name; /* identifier (or NULL) */
struct eqn_box *root; /* root mathematical expression */
int ln; /* invocation line */
int pos; /* invocation position */