So I'm reading through some header files and wanting all the #ifdefs and whatnot to line up sanely so I wrote the attached.
I have not tested it extensively but it is appears to correctly ignore parts that are commented out, and it also is supposed to ignore comment-open marks, that is, /*, when it is part of a double-quoted string. It will also complain when it has a line with an odd number of uncommented "s. -- pre-Α, Α, Β, rc, release.
CPP_conditional_indenter.pl
Description: Perl program
_______________________________________________ kc mailing list [email protected] http://mail.pm.org/mailman/listinfo/kc
