aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandoc.h
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
committerIngo Schwarze <schwarze@openbsd.org>2018-08-25 16:53:38 +0000
commit4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8 (patch)
tree32b9ab81d75bbad8884825043d06315cd8adc911 /mandoc.h
parent870322bd99e8a445ec84289025691baf9352ce27 (diff)
downloadmandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.tar.gz
mandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.tar.zst
mandoc-4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8.zip
Rudimentary implementation of the roff(7) .char (output glyph
definition) request, used for example by groff_hdtbl(7). This simplistic implementation may interact incorrectly with the .tr (input character translation) request. But come on, you are not only using .char *and* .tr, but you do so with respect to the same character in the same manual page?
Diffstat (limited to 'mandoc.h')
-rw-r--r--mandoc.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mandoc.h b/mandoc.h
index 0ae9b602..c392b0f2 100644
--- a/mandoc.h
+++ b/mandoc.h
@@ -1,4 +1,4 @@
-/* $Id: mandoc.h,v 1.252 2018/08/24 23:12:33 schwarze Exp $ */
+/* $Id: mandoc.h,v 1.253 2018/08/25 16:53:39 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011, 2014 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -158,6 +158,7 @@ enum mandocerr {
MANDOCERR_LB_BAD, /* unknown library name: Lb ... */
MANDOCERR_RS_BAD, /* invalid content in Rs block: macro */
MANDOCERR_SM_BAD, /* invalid Boolean argument: macro arg */
+ MANDOCERR_CHAR_FONT, /* argument contains two font escapes */
MANDOCERR_FT_BAD, /* unknown font, skipping request: ft font */
MANDOCERR_TR_ODD, /* odd number of characters in request: tr char */
@@ -212,6 +213,7 @@ enum mandocerr {
MANDOCERR_BD_NOARG, /* skipping display without arguments: Bd */
MANDOCERR_BL_NOTYPE, /* missing list type, using -item: Bl */
MANDOCERR_CE_NONUM, /* argument is not numeric, using 1: ce ... */
+ MANDOCERR_CHAR_ARG, /* argument is not a character: char ... */
MANDOCERR_NM_NONAME, /* missing manual name, using "": Nm */
MANDOCERR_OS_UNAME, /* uname(3) system call failed, using UNKNOWN */
MANDOCERR_ST_BAD, /* unknown standard specifier: St standard */