* mdocml: Accept "\s0" (i.e., properly ignore it).
@ 2010-07-22 14:03 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-07-22 14:03 UTC (permalink / raw)
To: source
Log Message:
-----------
Accept "\s0" (i.e., properly ignore it). Found in the wild (e.g., gfdl.7).
Modified Files:
--------------
mdocml:
mandoc.c
out.c
Revision Data
-------------
Index: mandoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mandoc.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -Lmandoc.c -Lmandoc.c -u -p -r1.25 -r1.26
--- mandoc.c
+++ mandoc.c
@@ -109,6 +109,9 @@ mandoc_special(char *p)
case ('\''):
term = '\'';
break;
+ case ('0'):
+ i++;
+ /* FALLTHROUGH */
default:
len = 1;
p--;
Index: out.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/out.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -Lout.c -Lout.c -u -p -r1.21 -r1.22
--- out.c
+++ out.c
@@ -255,6 +255,9 @@ a2roffdeco(enum roffdeco *d, const char
case ('\''):
term = '\'';
break;
+ case ('0'):
+ j++;
+ /* FALLTHROUGH */
default:
i--;
lim = 1;
--
To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2010-07-22 14:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-22 14:03 mdocml: Accept "\s0" (i.e., properly ignore it) kristaps
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).