diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 20:19:11 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-02 20:19:11 +0000 |
commit | eea7a417f94cca4382928d176498141c7b113250 (patch) | |
tree | d55214e3d949f5d481f9cad87eeb40964dae673d /mandoc.h | |
parent | 01c92e6ac259f38d13175f7f9d76233713fff535 (diff) | |
download | mandoc-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.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 */ |