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

Geoff Keating geoffk@geoffk.org
Sat Oct 4 16:14:00 GMT 2003


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>



More information about the Gcc-patches mailing list