diff options
author | 2017-06-06 15:00:56 +0000 | |
---|---|---|
committer | 2017-06-06 15:00:56 +0000 | |
commit | e13b41953a89d6f9c45672a4e590dd7b96ec8c86 (patch) | |
tree | 63b1b6beac2411502a30d0cb239ed8be0f6cf49a /usr.bin/mandoc/roff_validate.c | |
parent | Delete input event when evbuffer_read() fails to avoid just spinning (diff) | |
download | wireguard-openbsd-e13b41953a89d6f9c45672a4e590dd7b96ec8c86.tar.xz wireguard-openbsd-e13b41953a89d6f9c45672a4e590dd7b96ec8c86.zip |
Minimal implementation of the roff(7) .ce request (center a number
of input lines without filling).
Contrary to groff, high-level macros abort .ce mode for now.
Diffstat (limited to 'usr.bin/mandoc/roff_validate.c')
-rw-r--r-- | usr.bin/mandoc/roff_validate.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/mandoc/roff_validate.c b/usr.bin/mandoc/roff_validate.c index c1974d2fc6b..68fcf5f67a1 100644 --- a/usr.bin/mandoc/roff_validate.c +++ b/usr.bin/mandoc/roff_validate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: roff_validate.c,v 1.6 2017/06/04 22:43:50 schwarze Exp $ */ +/* $OpenBSD: roff_validate.c,v 1.7 2017/06/06 15:00:56 schwarze Exp $ */ /* * Copyright (c) 2010, 2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -32,6 +32,7 @@ static void roff_valid_ft(ROFF_VALID_ARGS); static const roff_valid_fp roff_valids[ROFF_MAX] = { NULL, /* br */ + NULL, /* ce */ roff_valid_ft, /* ft */ NULL, /* ll */ NULL, /* mc */ |