V3 and Integrated CPP [was Re: V3 PATCH: Disable wide-character tests where necessary]
Neil Booth
NeilB@earthling.net
Thu Nov 2 23:53:00 GMT 2000
[Sorry, the subject changed in-between ORBS bounces]
Hi Mark,
What do you (and others) think about not only keeping integrated CPP
as the default for V3, but this being mandatory?
If integrated CPP has survived 2 to 4 weeks by itself, with only minor
buglets or no complaints from people, I would like to remove the
USE_CPPLIB hackery completely.
At present, we're having to maintain two sets of interfaces in the C
family front-ends; it would be nice to be rid of substantial
duplication. Also, if it remains with the front-ends are trying to do
their own tokenisation, I cannot make further integration progress by
starting to move logic from c-lex.c to cpplex.c (where it more
properly belongs in my opinion), since the front-ends need it to be
there to do their own tokenisation / processing thing. For example,
one of the first things I would like to move over is handling of
escapes in strings.
Further down the line, string concatenation and all the UCN stuff
should be in cpplib.
Thoughts?
Neil.
More information about the Gcc
mailing list