comment style
Doug Gwyn
gwyn at smoke.brl.mil
Wed Feb 6 07:07:51 AEST 1991
In article <-286619997 at hpcupt1.cup.hp.com> jamiller at hpcupt1.cup.hp.com (Jim Miller) writes:
>Granted, there might be cases where // might be in a literal, but
>a quick look with fgrep should find those for you and then take additional
>action (in a awk script).
>O.K., so what am I so stupid that I'm not seeing?
// may also be in a /*...*/ comment.
I once wrote a utility to de-// such source code; it implemented an FSA
and had something like twenty states as I recall. It wasn't trivial but
it also wasn't all that difficult.
More information about the Comp.std.c
mailing list