aboutsummaryrefslogtreecommitdiff
path: root/gcc/cppmain.c
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-02-21 07:29:56 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-02-21 07:29:56 +0000
commit373e217703ba0c771832fb8f634c98022f5be353 (patch)
tree63deedc494f43a8e08b2973548c30e790dcbbe8d /gcc/cppmain.c
parent75beacf8857ecce10fcfdaf4e00dbe21cb56e224 (diff)
downloadgcc-373e217703ba0c771832fb8f634c98022f5be353.zip
gcc-373e217703ba0c771832fb8f634c98022f5be353.tar.gz
gcc-373e217703ba0c771832fb8f634c98022f5be353.tar.bz2
cppfiles.c: Update comments.
* cppfiles.c: Update comments. (_cpp_read_file): Don't check for NULL filenames any more. * cppinit.c (cpp_start_read): Don't do canonicalization of in_fname and out_fname. Use the passed file name exclusively. (_cpp_handle_options): Don't treat "-" as a command line option, but as a normal filename. (_cpp_post_options): Canonicalize in_fname and out_fname. * cppmain.c (printer_init): Don't check out_fname for NULL. * c-lex.c (orig_filename): Rename cpp_filename for clarity. (init_c_lex): Update, and use "" to represent stdin to CPP. (yyparse): Update. From-SVN: r39938
Diffstat (limited to 'gcc/cppmain.c')
-rw-r--r--gcc/cppmain.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/cppmain.c b/gcc/cppmain.c
index a68d19c..6d3afe0 100644
--- a/gcc/cppmain.c
+++ b/gcc/cppmain.c
@@ -271,9 +271,6 @@ printer_init (pfile)
print.lineno = 0;
print.printed = 0;
- if (options->out_fname == NULL)
- options->out_fname = "";
-
if (options->out_fname[0] == '\0')
print.outf = stdout;
else