summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc/read.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-04 18:03:29 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2015-02-04 18:03:29 +0000
commit2abdea8dd24252d6e41ca4a6954edff1fe8d3454 (patch)
tree587ff7f575889219da675474554719336b204a9e /usr.bin/mandoc/read.c
parent203bd5d9c4f0078a07e5c626d95626aaeb40d522 (diff)
discard .Rs head arguments and improve .Rs diagnostics
Diffstat (limited to 'usr.bin/mandoc/read.c')
-rw-r--r--usr.bin/mandoc/read.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/read.c b/usr.bin/mandoc/read.c
index 9282797b95e..d70803bebd2 100644
--- a/usr.bin/mandoc/read.c
+++ b/usr.bin/mandoc/read.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: read.c,v 1.96 2015/02/04 16:38:31 schwarze Exp $ */
+/* $OpenBSD: read.c,v 1.97 2015/02/04 18:03:28 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org>
@@ -142,6 +142,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"missing font type, using \\fR",
"unknown font type, using \\fR",
"nothing follows prefix",
+ "empty reference block",
"missing -std argument, adding it",
"missing eqn box, using \"\"",