* mdocml: Allow HP/IP/etc.
@ 2010-12-06 13:50 kristaps
0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-12-06 13:50 UTC (permalink / raw)
To: source
Log Message:
-----------
Allow HP/IP/etc. to have no arguments, as they're optional. From a field-
tested patch by schwarze@.
Modified Files:
--------------
mdocml:
man_validate.c
Revision Data
-------------
Index: man_validate.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/man_validate.c,v
retrieving revision 1.52
retrieving revision 1.53
diff -Lman_validate.c -Lman_validate.c -u -p -r1.52 -r1.53
--- man_validate.c
+++ man_validate.c
@@ -321,9 +321,7 @@ check_par(CHKARGS)
break;
return(man_nmsg(m, n, MANDOCERR_ARGSLOST));
default:
- if (n->nchild)
- break;
- return(man_nmsg(m, n, MANDOCERR_NOARGS));
+ break;
}
return(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-12-06 13:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-12-06 13:50 mdocml: Allow HP/IP/etc 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).