This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: ANSIfy cp/parser.c
- From: Nathanael Nerode <neroden at twcny dot rr dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 9 Jan 2003 06:38:25 -0500
- Subject: Re: ANSIfy cp/parser.c
Zack wrote:
>Nathanael Nerode <neroden@twcny.rr.com> writes:
>
>> Bootstrapped on i686-pc-linux-gnu. OK to commit?
>>
>> I'm doing these one file at a time because they're *huge* (and because I
>> have to do most of it by hand). I'm asking
>> for approval because the ANSIfication of the function defintions (the
>> way formal parameters are specified) doesn't appear to fall under the
>> 'obvious' rule. If someone says it does, I'll start putting these in
>> as soon as they bootstrap. :-)
>
>I have ambitions of applying the new parser to C as well as C++;
>therefore I would appreciate this *not* being applied, unless we are
>going to reexamine the requirement for K+R C in the C front end.
>
>zw
First of all, we clearly *are* going to reexamine it. It only exists
because HP still ships a K&R compiler by default with HPUX; this has to
end or become irrelevant sometime.
Second, the new parser code is already loaded with ANSI-isms. By
normalizing style, I believe this would actually make it easier to
de-ANSIfy it later using an automated tool.
--Nathanael