* ignore .ps and .ns
[not found] ` <201101151548.20037.brad@comstyle.com>
@ 2011-01-22 21:26 ` Ingo Schwarze
0 siblings, 0 replies; only message in thread
From: Ingo Schwarze @ 2011-01-22 21:26 UTC (permalink / raw)
To: tech; +Cc: brad
Hi,
Brad wrote on Sat, Jan 15, 2011 at 03:48:18PM -0500:
> mysql.1:1288:2: ERROR: skipping unknown macro: .ps +1
> mysql.1:1290:2: ERROR: skipping unknown macro: .ps -1
I think we can safely ignore these (point size).
While here, also ignore .ns (no-space mode) for now.
Implementing it is tedious, the macro is rare, and all that
goes wrong are one or two stray blank lines.
Of course, i will add short notes to roff(7).
OK?
Ingo
Index: roff.c
===================================================================
RCS file: /cvs/src/usr.bin/mandoc/roff.c,v
retrieving revision 1.30
diff -u -r1.30 roff.c
--- roff.c 20 Jan 2011 21:33:11 -0000 1.30
+++ roff.c 22 Jan 2011 21:24:52 -0000
@@ -51,6 +51,8 @@
ROFF_ne,
ROFF_nh,
ROFF_nr,
+ ROFF_ns,
+ ROFF_ps,
ROFF_rm,
ROFF_so,
ROFF_tr,
@@ -173,6 +175,8 @@
{ "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 },
{ "tr", roff_line_ignore, NULL, NULL, 0, NULL },
--
To unsubscribe send an email to tech+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread