diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-25 16:53:38 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2018-08-25 16:53:38 +0000 |
commit | 4a586872ce6f32a40dd13b7fa93c56b7a3ef52d8 (patch) | |
tree | 32b9ab81d75bbad8884825043d06315cd8adc911 /read.c | |
parent | 870322bd99e8a445ec84289025691baf9352ce27 (diff) | |
download | mandoc-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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", |