This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Update gengtype-lex.l to allow for C90 function typedefs
- From: Geoff Keating <geoffk at geoffk dot org>
- To: Kelley Cook <kelleycook at wideopenwest dot com>
- Cc: aj at suse dot de, gcc-patches at gcc dot gnu dot org
- Date: 04 Oct 2003 09:14:18 -0700
- Subject: Re: [PATCH] Update gengtype-lex.l to allow for C90 function typedefs
- References: <3F7DC427.7060501@ford.com>
Kelley Cook <kcook34@ford.com> writes:
> In this message
> http://gcc.gnu.org/ml/gcc-patches/2003-09/msg00883.html, Andreas
> Jaeger noted that converting three java files to C90 inexplicably
> caused a bootstrap failure.
>
> It turns out that it was because gengtype-lex.l in two cases was
> expecting the PARAMS macro to be present. I simply duplicated those
> two cases changing PARAMS to "(" and the magic numbers 7 to 2 to
> reflect the strlen differences between " PARAMS" and " (".
...
> Bootstrapped on i686-pc-cygwin. OK to install?
> 2003-10-03 Kelley Cook <kelleycook@wideopenwest.com>
>
> * gengtype-lex.l: Recognize typedef of functions without PARAMS macro.
This is OK.
--
- Geoffrey Keating <geoffk@geoffk.org>