Maintainer tools
David Korn
dkorn@pixelpower.com
Mon Apr 23 08:56:00 GMT 2001
>-----Original Message-----
>From: Bruce Korb [ mailto:bkorb@allegronetworks.com ]
>Sent: 16 April 2001 21:37
>I think every person who ever hacked on inclhack.def contacted
>me first.
I've hacked on inclhack.def, and although I didn't contact you first, I
will now contact you afterward....
... to ask if you'll review my patch, or at any rate just cast an
experienced eye over the inclhack hunk in it. I don't think there's likely
to be anything wrong with it but you might know of some syntax or
portability issue I should take care of.
http://gcc.gnu.org/ml/gcc-patches/2001-04/msg00015.html
The first inclhack is supposed to detect a block of code that has a
comment at the start and end of it, and add a #ifdef-#else-#endif wrapper
around the original contents. The second hack is supposed to replace a
#include line that uses quotes around the filename with an equivalent
that uses angle brackets (because it's a system file). I wrote both of
these by basically modelling them along the lines of other hacks I found
that did similar jobs to what I wanted.
DaveK
--
Any sufficiently advanced technology is indistinguishable from a rigged
demo.
**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
www.mimesweeper.com
**********************************************************************
More information about the Gcc
mailing list