* [9fans] fix // comments
@ 2009-08-09 13:29 erik quanstrom
0 siblings, 0 replies; only message in thread
From: erik quanstrom @ 2009-08-09 13:29 UTC (permalink / raw)
To: 9fans
/n/sources/contrib/quanstro/bcmt will turn // comments
into style(6)-approved comments. it deals with end-of-line
comments, single comments and block comments. it's
ment to be used from acme so it is likely unfit for scripting.
for example,
// Ignore network errors here. If we fail during
// synchronization, the next alarm will pick up
// the error.
gets converted to
/*
* Ignore network errors here. If we fail during
* synchronization, the next alarm will pick up
* the error.
*/
and
// Read the header.
if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) {
to
/* Read the header. */
if ((len = readn(netfd, &b->hdr, sizeof(Hdr))) <= 0) {
- erik
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-08-09 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-09 13:29 [9fans] fix // comments erik quanstrom
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).