* pod2mdoc: cvs commit: render B<NULL> as .Dv NULL
@ 2014-07-11 9:10 schwarze
0 siblings, 0 replies; only message in thread
From: schwarze @ 2014-07-11 9:10 UTC (permalink / raw)
To: source
Log Message:
-----------
cvs commit: render B<NULL> as .Dv NULL
Modified Files:
--------------
pod2mdoc:
pod2mdoc.c
Revision Data
-------------
Index: pod2mdoc.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/pod2mdoc/pod2mdoc.c,v
retrieving revision 1.26
retrieving revision 1.27
diff -Lpod2mdoc.c -Lpod2mdoc.c -u -p -r1.26 -r1.27
--- pod2mdoc.c
+++ pod2mdoc.c
@@ -511,7 +511,12 @@ formatcode(struct state *st, const char
printf("Ar ");
break;
}
- printf("Sy ");
+ if (0 == strncmp(buf + *start, "NULL", 4) &&
+ ('=' == buf[*start + 4] ||
+ '>' == buf[*start + 4]))
+ printf("Dv ");
+ else
+ printf("Sy ");
break;
case (FMT_CODE):
printf("Qo Li ");
--
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:[~2014-07-11 9:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-11 9:10 pod2mdoc: cvs commit: render B<NULL> as .Dv NULL schwarze
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).