This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Update gengtype-lex.l to allow for C90 function typedefs


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>


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