summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 11:54:04 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-06 11:54:04 +0000
commit78ce0c8e876cff7dc884cc41a29003a16a25e158 (patch)
treeb236af8c897f93f956a324fde2f55f4582b7c872 /usr.bin/mandoc/mandoc.h
parent7307b74ff3db223a48c1a70049d72a59d9ea70d1 (diff)
better error reporting regarding .OP .RS .UR .TH arguments
Diffstat (limited to 'usr.bin/mandoc/mandoc.h')
-rw-r--r--usr.bin/mandoc/mandoc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/mandoc/mandoc.h b/usr.bin/mandoc/mandoc.h
index e5bacda7f50..01cfd80fe10 100644
--- a/usr.bin/mandoc/mandoc.h
+++ b/usr.bin/mandoc/mandoc.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: mandoc.h,v 1.140 2015/02/06 07:12:34 schwarze Exp $ */
+/* $OpenBSD: mandoc.h,v 1.141 2015/02/06 11:54:03 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -106,6 +106,8 @@ enum mandocerr {
MANDOCERR_PF_SKIP, /* nothing follows prefix: Pf arg */
MANDOCERR_RS_EMPTY, /* empty reference block: Rs */
MANDOCERR_ARG_STD, /* missing -std argument, adding it: macro */
+ MANDOCERR_OP_EMPTY, /* missing option string, using "": OP */
+ MANDOCERR_UR_NOHEAD, /* missing resource identifier, using "": UR */
MANDOCERR_EQN_NOBOX, /* missing eqn box, using "": op */
/* related to bad arguments */