summaryrefslogtreecommitdiff
path: root/usr.bin/mandoc
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-25 00:23:24 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2011-01-25 00:23:24 +0000
commite5de70714f38c1efdaa9ed5fc4f1122f722f3549 (patch)
tree0550eb54c1c8ebde3322f8888477205c0550e3de /usr.bin/mandoc
parent9cddca28d42e7af2086e040864ba5c2466d94637 (diff)
Ignore .ns (no-space mode), .ps (change point size), .ta (tab control)
for now. All of these just cause a bit too much or too little whitespace, but no serious formatting problems.
Diffstat (limited to 'usr.bin/mandoc')
-rw-r--r--usr.bin/mandoc/roff.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/mandoc/roff.c b/usr.bin/mandoc/roff.c
index 551bbd9f93b..1accc05a00f 100644
--- a/usr.bin/mandoc/roff.c
+++ b/usr.bin/mandoc/roff.c
@@ -1,4 +1,4 @@
-/* $Id: roff.c,v 1.30 2011/01/20 21:33:11 schwarze Exp $ */
+/* $Id: roff.c,v 1.31 2011/01/25 00:23:23 schwarze Exp $ */
/*
* Copyright (c) 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2010, 2011 Ingo Schwarze <schwarze@openbsd.org>
@@ -51,8 +51,11 @@ enum rofft {
ROFF_ne,
ROFF_nh,
ROFF_nr,
+ ROFF_ns,
+ ROFF_ps,
ROFF_rm,
ROFF_so,
+ ROFF_ta,
ROFF_tr,
ROFF_TS,
ROFF_TE,
@@ -173,8 +176,11 @@ static struct roffmac roffs[ROFF_MAX] = {
{ "ne", roff_line_ignore, NULL, NULL, 0, NULL },
{ "nh", roff_line_ignore, NULL, NULL, 0, NULL },
{ "nr", roff_nr, NULL, NULL, 0, NULL },
+ { "ns", roff_line_ignore, NULL, NULL, 0, NULL },
+ { "ps", roff_line_ignore, NULL, NULL, 0, NULL },
{ "rm", roff_rm, NULL, NULL, 0, NULL },
{ "so", roff_so, NULL, NULL, 0, NULL },
+ { "ta", roff_line_ignore, NULL, NULL, 0, NULL },
{ "tr", roff_line_ignore, NULL, NULL, 0, NULL },
{ "TS", roff_TS, NULL, NULL, 0, NULL },
{ "TE", roff_TE, NULL, NULL, 0, NULL },