summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 14:30:51 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-18 14:30:51 +0000
commitf1454c7cbdfb3ec91f3bcce1e004d4c81d3b08cf (patch)
treed75c274aa3b23b0ab0a363cadbd43fd4cda77d83
parent5de7ba484459983132135dc10ddf780000569281 (diff)
downloadmandoc-f1454c7cbdfb3ec91f3bcce1e004d4c81d3b08cf.tar.gz
Forgot to add these bits to the last commit.
-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",