This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: C/C++/ObjC sourcecode unifier


> On Apr 10, 2001, Erik Thiele <erikyyy@erikyyy.de> wrote:
> 
> > therefor i need this unifier script or program that will be run AFTER
> > the preprocessor.
> 
> I don't think this would be too hard to do as a side effect of
> compilation, by hacking the integrated preprocessor a little bit.  It
> already works on tokens, so it couldn't be too hard to get it to spit
> out the sequence of tokens to a separate file or something.

However, it's not safe to remove all # lines, because this can alter
the result of compilation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]