diff options
author | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-14 21:47:50 +0000 |
---|---|---|
committer | neil <neil@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-03-14 21:47:50 +0000 |
commit | b717e1619365c61b87f5e3ebe26f58676263fc57 (patch) | |
tree | f86d032aa7796736ae3b48b9d527b9b116caa900 /gcc/c-lex.c | |
parent | 525e21251d95df8dd7b4e5552ccc4fcda731a878 (diff) | |
download | gcc-b717e1619365c61b87f5e3ebe26f58676263fc57.tar.gz |
/home/neil/diffs/include.log
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@64373 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-lex.c')
-rw-r--r-- | gcc/c-lex.c | 31 |
1 files changed, 2 insertions, 29 deletions
diff --git a/gcc/c-lex.c b/gcc/c-lex.c index 9e97ad76b61..7256c5a74fe 100644 --- a/gcc/c-lex.c +++ b/gcc/c-lex.c @@ -86,7 +86,6 @@ static int dump_one_header PARAMS ((splay_tree_node, void *)); static void cb_line_change PARAMS ((cpp_reader *, const cpp_token *, int)); static void cb_ident PARAMS ((cpp_reader *, unsigned int, const cpp_string *)); -static void cb_file_change PARAMS ((cpp_reader *, const struct line_map *)); static void cb_def_pragma PARAMS ((cpp_reader *, unsigned int)); static void cb_define PARAMS ((cpp_reader *, unsigned int, cpp_hashnode *)); @@ -116,7 +115,6 @@ init_c_lex () cb->register_builtins = cb_register_builtins; cb->line_change = cb_line_change; cb->ident = cb_ident; - cb->file_change = cb_file_change; cb->def_pragma = cb_def_pragma; cb->valid_pch = c_common_valid_pch; cb->read_pch = c_common_read_pch; @@ -131,30 +129,6 @@ init_c_lex () } } -/* A thin wrapper around the real parser that initializes the - integrated preprocessor after debug output has been initialized. - Also, make sure the start_source_file debug hook gets called for - the primary source file. */ - -void -c_common_parse_file (set_yydebug) - int set_yydebug ATTRIBUTE_UNUSED; -{ -#if YYDEBUG != 0 - yydebug = set_yydebug; -#else - warning ("YYDEBUG not defined"); -#endif - - (*debug_hooks->start_source_file) (lineno, input_filename); - cpp_finish_options (parse_in); - - pch_init(); - - yyparse (); - free_parser_stacks (); -} - struct c_fileinfo * get_fileinfo (name) const char *name; @@ -245,9 +219,8 @@ cb_line_change (pfile, token, parsing_args) src_lineno = SOURCE_LINE (map, token->line); } -static void -cb_file_change (pfile, new_map) - cpp_reader *pfile ATTRIBUTE_UNUSED; +void +fe_file_change (new_map) const struct line_map *new_map; { unsigned int to_line = SOURCE_LINE (new_map, new_map->to_line); |