diff options
| author | 2017-06-14 22:50:37 +0000 | |
|---|---|---|
| committer | 2017-06-14 22:50:37 +0000 | |
| commit | af1e8f15b7f08549080de19ba7fac4441ea53f94 (patch) | |
| tree | 568b7e7b3189d0c2066c9ead36ada314cb85190b /usr.bin/mandoc/roff_validate.c | |
| parent | Enable hvs(4), "go for it" from deraadt. (diff) | |
| download | wireguard-openbsd-af1e8f15b7f08549080de19ba7fac4441ea53f94.tar.xz wireguard-openbsd-af1e8f15b7f08549080de19ba7fac4441ea53f94.zip | |
Naive implementation of the roff(7) .po (page offset) request.
This clearly works when .po is called on the top level, but might
not be sophisticated enough if people call .po inside indentation-changing
contexts, but i haven't seen that in manual pages (yet :).
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 4f1af9b3695..8a4f5ae6efc 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.8 2017/06/14 13:00:13 schwarze Exp $ */ +/* $OpenBSD: roff_validate.c,v 1.9 2017/06/14 22:50:37 schwarze Exp $ */ /* * Copyright (c) 2010, 2017 Ingo Schwarze <schwarze@openbsd.org> * @@ -36,6 +36,7 @@ static const roff_valid_fp roff_valids[ROFF_MAX] = { roff_valid_ft, /* ft */ NULL, /* ll */ NULL, /* mc */ + NULL, /* po */ NULL, /* rj */ NULL, /* sp */ NULL, /* ta */ |
