diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:03:47 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2015-02-04 18:03:47 +0000 |
commit | a5e125dfa8853574588e217f6f9c6cd903da5dfb (patch) | |
tree | d105718031be573e0cdea27227bffff6bb049590 /mandoc.h | |
parent | f739df3eaac944850aad1f8782a73ad20c7a6450 (diff) | |
download | mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.tar.gz mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.tar.zst mandoc-a5e125dfa8853574588e217f6f9c6cd903da5dfb.zip |
discard .Rs head arguments and improve .Rs diagnostics
Diffstat (limited to 'mandoc.h')
-rw-r--r-- | mandoc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: mandoc.h,v 1.195 2015/02/04 16:38:56 schwarze Exp $ */ +/* $Id: mandoc.h,v 1.196 2015/02/04 18:03:47 schwarze Exp $ */ /* * Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010-2015 Ingo Schwarze <schwarze@openbsd.org> @@ -103,6 +103,7 @@ enum mandocerr { MANDOCERR_BF_NOFONT, /* missing font type, using \fR: Bf */ MANDOCERR_BF_BADFONT, /* unknown font type, using \fR: Bf font */ 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_EQN_NOBOX, /* missing eqn box, using "": op */ |