aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit30f55adc136c204d3d558b367edbc380844a2929 (patch)
treea376b69f8eebb95f4e52c37ed320e23ecb77d9af /mandoc.h
parent120b20293594a2d47c4e480f65706a805f0e629b (diff)
downloadmandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.gz
mandoc-30f55adc136c204d3d558b367edbc380844a2929.tar.zst
mandoc-30f55adc136c204d3d558b367edbc380844a2929.zip
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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 244586f3..7519fa08 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.93 2011/07/23 12:10:16 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.94 2011/07/23 18:41:18 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 */