From 79cf3ec10c796d1bf7911b7da6d6fcbdd79b049e Mon Sep 17 00:00:00 2001 From: neil Date: Mon, 12 Aug 2002 06:02:53 +0000 Subject: * c-common.c (STDC_0_IN_SYSTEM_HEADERS, c_common_init): Move to c-copts.c. (warn_multichar): Die. (cb_register_builtins): Export. * c-common.h (warn_multichar, preprocess_file): Remove. (cb_register_builtins): New. * c-lang.c (c_init): Remove. (LANG_HOOKS_INIT): Use c_objc_common_init. * c-lex.c (init_c_lex): Don't canonicalize filename. * c-opts.c (in_fname, STDC_0_IN_SYSTEM_HEADERS): New. (preprocess_file): Make static. Update for cpplib. (c_common_decode_option): Remove warn_multichar. Use in_fname. (c_common_post_options): Set some cpp options here. (c_common_init): Move from c-common.c. * cppinit.c (cpp_post_options): Don't canonicalize in_fname. * cpplib.h (struct cpp_options): Remove in_fname. (cpp_preprocess_file): Update. * cppmain.c (cpp_preprocess_file): Update for new prototypes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56223 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/cppinit.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'gcc/cppinit.c') diff --git a/gcc/cppinit.c b/gcc/cppinit.c index 977629acbe1..2792ebfb672 100644 --- a/gcc/cppinit.c +++ b/gcc/cppinit.c @@ -1452,12 +1452,6 @@ void cpp_post_options (pfile) cpp_reader *pfile; { - /* Canonicalize in_fname and out_fname. We guarantee they are not - NULL, and that the empty string represents stdin / stdout. */ - if (CPP_OPTION (pfile, in_fname) == NULL - || !strcmp (CPP_OPTION (pfile, in_fname), "-")) - CPP_OPTION (pfile, in_fname) = ""; - /* -Wtraditional is not useful in C++ mode. */ if (CPP_OPTION (pfile, cplusplus)) CPP_OPTION (pfile, warn_traditional) = 0; -- cgit v1.2.3