Fix init_c_lex prototype
Neil Booth
neil@daikokuya.co.uk
Tue Mar 4 21:38:00 GMT 2003
Andreas Jaeger wrote:-
> 2003-03-04 Andreas Jaeger <aj@suse.de>
>
> * treetree.c (init_c_lex): Follow change to c-common.h.
>
> ============================================================
> Index: gcc/treelang/treetree.c
> --- gcc/treelang/treetree.c 1 Mar 2003 02:05:37 -0000 1.14
> +++ gcc/treelang/treetree.c 4 Mar 2003 17:44:09 -0000
> @@ -933,7 +933,7 @@ cpp_create_reader (enum c_lang lang ATTR
> /* Should not be called for treelang. */
>
> const char *
> -init_c_lex (const char *filename ATTRIBUTE_UNUSED)
> +init_c_lex (void)
> {
> abort ();
> }
Sorry. I'll try and bootstrap treelang in future, though IMO it's
current implementation of shadowing C sucks.
Neil.
More information about the Gcc-patches
mailing list