summaryrefslogtreecommitdiffstats
path: root/roff_validate.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2017-06-04 22:44:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2017-06-04 22:44:15 +0000
commit57a85465cebb415008468ba9f16a7668e9119051 (patch)
treed342974ea656a6dfa44886c5469b783de62b7078 /roff_validate.c
parent68a2cb887c993621fe7b72e21517d6a260376003 (diff)
downloadmandoc-57a85465cebb415008468ba9f16a7668e9119051.tar.gz
Implement the roff(7) .mc (right margin character) request.
The Tcl/Tk manual pages use this extensively. Delete the TERM_MAXMARGIN hack, it breaks .mc inside .nf; instead, implement a proper TERMP_BRNEVER flag.
Diffstat (limited to 'roff_validate.c')
-rw-r--r--roff_validate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/roff_validate.c b/roff_validate.c
index e1ee0ea9..f62544ca 100644
--- a/roff_validate.c
+++ b/roff_validate.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: roff_html.c,v 1.1 2017/05/04 22:07:44 schwarze Exp $ */
+/* $Id$ */
/*
* Copyright (c) 2010, 2017 Ingo Schwarze <schwarze@openbsd.org>
*
@@ -34,6 +34,7 @@ static const roff_valid_fp roff_valids[ROFF_MAX] = {
NULL, /* br */
roff_valid_ft, /* ft */
NULL, /* ll */
+ NULL, /* mc */
NULL, /* sp */
NULL, /* ta */
NULL, /* ti */