summaryrefslogtreecommitdiffstatshomepage
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
commit06de568c21235414d9aeaf92aef7127950caa2bf (patch)
treeff2e0e11d244594cc4a87d3531cd3329ac09b8a6
parent3f1554e5fce2fec1311a3339baa46cb6ce50427a (diff)
downloadmandoc-06de568c21235414d9aeaf92aef7127950caa2bf.tar.gz
mandoc-06de568c21235414d9aeaf92aef7127950caa2bf.tar.zst
mandoc-06de568c21235414d9aeaf92aef7127950caa2bf.zip
Forgot to add these bits to the last commit.
-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",