summaryrefslogtreecommitdiffstats
path: root/roff.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2011-01-25 01:12:02 +0000
committerIngo Schwarze <schwarze@openbsd.org>2011-01-25 01:12:02 +0000
commitef0c12c03523dc1118e1aedf95ea477327b2c1cd (patch)
treedd85261fbf8da8aaf518c91af5859f0526b59a79 /roff.c
parenta0288e04b6e7f93a95d0e8fde9f81cad5c0318f4 (diff)
downloadmandoc-ef0c12c03523dc1118e1aedf95ea477327b2c1cd.tar.gz
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. Triggered by reports from brad@.
Diffstat (limited to 'roff.c')
-rw-r--r--roff.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/roff.c b/roff.c
index 73365293..b885a5f2 100644
--- a/roff.c
+++ b/roff.c
@@ -55,8 +55,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,
@@ -177,8 +180,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 },