aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--mandoc.h3
-rw-r--r--read.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index 23b672af..31d5444a 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.80 2011/07/17 14:08:49 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.81 2011/07/18 14:30:51 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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 ee713705..8d59b23f 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.18 2011/07/18 07:46:41 kristaps Exp $ */
+/* $Id: read.c,v 1.19 2011/07/18 14:30:51 kristaps Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -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",