summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mandoc.h1
-rw-r--r--read.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/mandoc.h b/mandoc.h
index f83154aa..fa301466 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -111,6 +111,7 @@ enum mandocerr {
/* related to equations */
MANDOCERR_EQNARGS, /* bad equation macro arguments */
+ MANDOCERR_EQNNEST, /* too many nested equation defines */
/* related to tables */
MANDOCERR_TBL, /* bad table syntax */
diff --git a/read.c b/read.c
index ae6d098e..9dd982b9 100644
--- a/read.c
+++ b/read.c
@@ -153,6 +153,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
/* related to equations */
"bad equation macro syntax",
+ "too many nested equation defines",
/* related to tables */
"bad table syntax",