aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/read.c
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 /read.c
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 'read.c')
-rw-r--r--read.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/read.c b/read.c
index fe77bee7..e9971a66 100644
--- a/read.c
+++ b/read.c
@@ -1,4 +1,4 @@
-/* $Id: read.c,v 1.199 2018/08/24 23:12:33 schwarze Exp $ */
+/* $Id: read.c,v 1.200 2018/08/25 16:53:39 schwarze Exp $ */
/*
* Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010-2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -198,6 +198,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"unknown library name",
"invalid content in Rs block",
"invalid Boolean argument",
+ "argument contains two font escapes",
"unknown font, skipping request",
"odd number of characters in request",
@@ -252,6 +253,7 @@ static const char * const mandocerrs[MANDOCERR_MAX] = {
"skipping display without arguments",
"missing list type, using -item",
"argument is not numeric, using 1",
+ "argument is not a character",
"missing manual name, using \"\"",
"uname(3) system call failed, using UNKNOWN",
"unknown standard specifier",