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: Fix init_c_lex prototype


Andreas Jaeger wrote:-

> 2003-03-04  Andreas Jaeger  <aj at suse dot 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.


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