discuss@mandoc.bsd.lv
 help / color / mirror / Atom feed
* Feature request for -Tlint
@ 2014-10-09 22:46 Anthony J. Bentley
  2014-10-11 21:25 ` Ingo Schwarze
  0 siblings, 1 reply; 4+ messages in thread
From: Anthony J. Bentley @ 2014-10-09 22:46 UTC (permalink / raw)
  To: discuss; +Cc: wblock

When converting old manual pages to mdoc(7), it's easy to accidentally
leave the trailing parentheses in the first argument to a Fn macro.
A warning when this happens would be nice.

.\" oops, wrong!
.Fn client_cert_cb()

.\" right
.Fn client_cert_cb

Not sure if this is the domain of mandoc -Tlint or if it would be better
implemented in a helper tool like igor(1).

Of course, parentheses are allowed in arguments besides the first argument,
but I can't think of any case where they're needed in the first one.

-- 
Anthony J. Bentley
--
 To unsubscribe send an email to discuss+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-10-13 13:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-09 22:46 Feature request for -Tlint Anthony J. Bentley
2014-10-11 21:25 ` Ingo Schwarze
2014-10-12  8:44   ` Anthony J. Bentley
2014-10-13 13:27     ` Ingo 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).