aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-02 20:19:11 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-02 20:19:11 +0000
commiteea7a417f94cca4382928d176498141c7b113250 (patch)
treed55214e3d949f5d481f9cad87eeb40964dae673d /mandoc.h
parent01c92e6ac259f38d13175f7f9d76233713fff535 (diff)
downloadmandoc-eea7a417f94cca4382928d176498141c7b113250.tar.gz
mandoc-eea7a417f94cca4382928d176498141c7b113250.tar.zst
mandoc-eea7a417f94cca4382928d176498141c7b113250.zip
Improve and test the messages about empty macros,
in particular reporting the macro names involved.
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mandoc.h b/mandoc.h
index f0005e61..2848d2bc 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.129 2014/07/02 13:10:45 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.130 2014/07/02 20:19:11 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2014 Ingo Schwarze <schwarze@openbsd.org>
@@ -84,7 +84,7 @@ enum mandocerr {
MANDOCERR_LINESCOPE, /* line scope broken: macro breaks macro */
/* related to missing macro arguments */
- MANDOCERR_MACROEMPTY, /* skipping empty macro */
+ MANDOCERR_MACRO_EMPTY, /* skipping empty macro: macro */
MANDOCERR_ARGCWARN, /* argument count wrong */
MANDOCERR_DISPTYPE, /* missing display type */
MANDOCERR_LISTFIRST, /* list type must come first */