aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 12:52:54 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-17 12:52:54 +0000
commit7be5fc75543838241bb32d119197e65ad64e15f8 (patch)
treef6af5aeba36670e10cca79dcdd65d6b8b0fd247b /mandoc.h
parentda302548a58ff17d53b0d3e89bf0739d9ce61f10 (diff)
downloadmandoc-7be5fc75543838241bb32d119197e65ad64e15f8.tar.gz
mandoc-7be5fc75543838241bb32d119197e65ad64e15f8.tar.zst
mandoc-7be5fc75543838241bb32d119197e65ad64e15f8.zip
Warn if equation `define' key is quoted (groff-ism).
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index ff5d302f..1d769828 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.78 2011/07/15 10:14:12 kristaps Exp $ */
+/* $Id: mandoc.h,v 1.79 2011/07/17 12:52:54 kristaps Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -104,6 +104,9 @@ enum mandocerr {
MANDOCERR_BADESCAPE, /* unknown escape sequence */
MANDOCERR_BADQUOTE, /* unterminated quoted string */
+ /* related to equations */
+ MANDOCERR_EQNQUOTE, /* unexpected literal in equation */
+
MANDOCERR_ERROR, /* ===== start of errors ===== */
/* related to tables */