[Ada] PATCH: Add new lang_hooks initializer

Geert Bosch bosch@gnat.com
Wed Oct 10 14:18:00 GMT 2001


I committed the following.

2001-10-10  Richard Kenner  <kenner@gnat.com>

	* misc.c (struct lang_hooks): Add new initializer to match GCC change.

Index: misc.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ada/misc.c,v
retrieving revision 1.3
diff -p -r1.3 misc.c
*** misc.c	2001/10/08 14:06:05	1.3
--- misc.c	2001/10/10 21:16:11
*************** const char *gnat_tree_code_name[] = {
*** 109,115 ****
  
  /* Structure giving our language-specific hooks.  */
  struct lang_hooks lang_hooks = {gnat_init, 0, gnat_init_options,
! 				gnat_decode_option, 0};
  
  /* gnat standard argc argv */
  
--- 109,116 ----
  
  /* Structure giving our language-specific hooks.  */
  struct lang_hooks lang_hooks = {gnat_init, 0, gnat_init_options,
! 				gnat_decode_option, 0,
! 			        {0, 0, 0, 0, 0, 0, 0, 0}};
  
  /* gnat standard argc argv */
  




More information about the Gcc-patches mailing list