This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[mainline] PATCH: Fix spelling thinko
- From: Gabriel Dos Reis <gdr at integrable-solutions dot net>
- To: gcc-patches at gcc dot gnu dot org
- Date: 19 Aug 2003 09:53:38 +0200
- Subject: [mainline] PATCH: Fix spelling thinko
- Organization: Integrable Solutions
Diego kindly pointed out that I made some spelling errors. Fixed
thusly. GCC should have -fispell, it would have saved me an
embarassment ;-/
Bootstrapped and tested on an i686-pc-linux-gnu.
-- Gaby
Index: ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ChangeLog,v
retrieving revision 2.802
diff -p -r2.802 ChangeLog
*** ChangeLog 19 Aug 2003 07:36:53 -0000 2.802
--- ChangeLog 19 Aug 2003 07:47:15 -0000
***************
*** 1,3 ****
--- 1,9 ----
+ 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * langhooks-def.h (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
+ (LANG_HOOKS_INITIALIZER): Correct.
+ * c-lang.c: Likewise.
+
2003-08-19 Jan Hubicka <jh@suse.cz>
* cgraph.c (cgraph_mark_needed_node): Call notice_global_symbol.
Index: c-lang.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/c-lang.c,v
retrieving revision 1.113
diff -p -r1.113 c-lang.c
*** c-lang.c 10 Aug 2003 18:17:05 -0000 1.113
--- c-lang.c 19 Aug 2003 07:47:16 -0000
*************** enum c_language_kind c_language = clk_c;
*** 47,54 ****
#define LANG_HOOKS_FINISH c_common_finish
#undef LANG_HOOKS_INIT_OPTIONS
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
! #undef LANG_HOOKS_INITIALIZE_DIAGNOSTITCS
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTITCS c_initialize_diagnostics
#undef LANG_HOOKS_HANDLE_OPTION
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
#undef LANG_HOOKS_MISSING_ARGUMENT
--- 47,54 ----
#define LANG_HOOKS_FINISH c_common_finish
#undef LANG_HOOKS_INIT_OPTIONS
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
! #undef LANG_HOOKS_INITIALIZE_DIAGNOSTICS
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTICS c_initialize_diagnostics
#undef LANG_HOOKS_HANDLE_OPTION
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
#undef LANG_HOOKS_MISSING_ARGUMENT
Index: langhooks-def.h
===================================================================
RCS file: /cvs/gcc/gcc/gcc/langhooks-def.h,v
retrieving revision 1.60
diff -p -r1.60 langhooks-def.h
*** langhooks-def.h 4 Aug 2003 20:44:13 -0000 1.60
--- langhooks-def.h 19 Aug 2003 07:47:16 -0000
*************** extern void lhd_initialize_diagnostics (
*** 88,94 ****
#define LANG_HOOKS_PARSE_FILE lhd_do_nothing_i
#define LANG_HOOKS_CLEAR_BINDING_STACK lhd_clear_binding_stack
#define LANG_HOOKS_INIT_OPTIONS hook_uint_uint_constcharptrptr_0
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTITCS lhd_initialize_diagnostics
#define LANG_HOOKS_HANDLE_OPTION hook_int_size_t_constcharptr_int_0
#define LANG_HOOKS_MISSING_ARGUMENT hook_bool_constcharptr_size_t_false
#define LANG_HOOKS_POST_OPTIONS lhd_post_options
--- 88,94 ----
#define LANG_HOOKS_PARSE_FILE lhd_do_nothing_i
#define LANG_HOOKS_CLEAR_BINDING_STACK lhd_clear_binding_stack
#define LANG_HOOKS_INIT_OPTIONS hook_uint_uint_constcharptrptr_0
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTICS lhd_initialize_diagnostics
#define LANG_HOOKS_HANDLE_OPTION hook_int_size_t_constcharptr_int_0
#define LANG_HOOKS_MISSING_ARGUMENT hook_bool_constcharptr_size_t_false
#define LANG_HOOKS_POST_OPTIONS lhd_post_options
*************** extern int lhd_tree_dump_type_quals (tre
*** 246,252 ****
LANG_HOOKS_IDENTIFIER_SIZE, \
LANG_HOOKS_TREE_SIZE, \
LANG_HOOKS_INIT_OPTIONS, \
! LANG_HOOKS_INITIALIZE_DIAGNOSTITCS, \
LANG_HOOKS_HANDLE_OPTION, \
LANG_HOOKS_MISSING_ARGUMENT, \
LANG_HOOKS_POST_OPTIONS, \
--- 246,252 ----
LANG_HOOKS_IDENTIFIER_SIZE, \
LANG_HOOKS_TREE_SIZE, \
LANG_HOOKS_INIT_OPTIONS, \
! LANG_HOOKS_INITIALIZE_DIAGNOSTICS, \
LANG_HOOKS_HANDLE_OPTION, \
LANG_HOOKS_MISSING_ARGUMENT, \
LANG_HOOKS_POST_OPTIONS, \
Index: cp/ChangeLog
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/ChangeLog,v
retrieving revision 1.3607
diff -p -r1.3607 ChangeLog
*** cp/ChangeLog 18 Aug 2003 12:55:02 -0000 1.3607
--- cp/ChangeLog 19 Aug 2003 07:47:28 -0000
***************
*** 1,3 ****
--- 1,7 ----
+ 2003-08-19 Gabriel Dos Reis <gdr@integrable-solutions.net>
+
+ * cp-lang.c (LANG_HOOKS_INITIALIZE_DIAGNOSTICS): Fix spelling.
+
2003-08-18 Nathan Sidwell <nathan@codesourcery.com>
PR c++/11957
Index: cp/cp-lang.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cp/cp-lang.c,v
retrieving revision 1.60
diff -p -r1.60 cp-lang.c
*** cp/cp-lang.c 5 Aug 2003 19:23:14 -0000 1.60
--- cp/cp-lang.c 19 Aug 2003 07:47:28 -0000
*************** static void cxx_initialize_diagnostics (
*** 54,61 ****
#define LANG_HOOKS_CLEAR_BINDING_STACK pop_everything
#undef LANG_HOOKS_INIT_OPTIONS
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
! #undef LANG_HOOKS_INITIALIZE_DIAGNOSTITCS
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTITCS cxx_initialize_diagnostics
#undef LANG_HOOKS_HANDLE_OPTION
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
#undef LANG_HOOKS_HANDLE_FILENAME
--- 54,61 ----
#define LANG_HOOKS_CLEAR_BINDING_STACK pop_everything
#undef LANG_HOOKS_INIT_OPTIONS
#define LANG_HOOKS_INIT_OPTIONS c_common_init_options
! #undef LANG_HOOKS_INITIALIZE_DIAGNOSTICS
! #define LANG_HOOKS_INITIALIZE_DIAGNOSTICS cxx_initialize_diagnostics
#undef LANG_HOOKS_HANDLE_OPTION
#define LANG_HOOKS_HANDLE_OPTION c_common_handle_option
#undef LANG_HOOKS_HANDLE_FILENAME