diff options
author | Geoffrey Keating <geoffk@apple.com> | 2003-07-30 06:43:33 +0000 |
---|---|---|
committer | Geoffrey Keating <geoffk@gcc.gnu.org> | 2003-07-30 06:43:33 +0000 |
commit | 9074464c14b99872a7ce360c883c1b0dc20c75be (patch) | |
tree | 05c6ec2250febb5e831a84ba041cdadb3cc76e9d /gcc/cppfiles.c | |
parent | c1516eae87161cfec7d26ec445343718dd684c79 (diff) | |
download | gcc-9074464c14b99872a7ce360c883c1b0dc20c75be.zip gcc-9074464c14b99872a7ce360c883c1b0dc20c75be.tar.gz gcc-9074464c14b99872a7ce360c883c1b0dc20c75be.tar.bz2 |
cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
* cppfiles.c (stack_file): Leave filename as "" rather than "<stdin>".
* line-map.h (linemap_add): Update comments.
* line-map.c (linemap_add): Update comments, interpret zero-length
filename as "<stdin>".
From-SVN: r69952
Diffstat (limited to 'gcc/cppfiles.c')
-rw-r--r-- | gcc/cppfiles.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/cppfiles.c b/gcc/cppfiles.c index 562b0ab..66e4a6a 100644 --- a/gcc/cppfiles.c +++ b/gcc/cppfiles.c @@ -558,8 +558,6 @@ stack_file (cpp_reader *pfile, _cpp_file *file, bool import) /* Generate the call back. */ fname = file->name; - if (*fname == '\0') - fname = "<stdin>"; _cpp_do_file_change (pfile, LC_ENTER, fname, 1, sysp); return true; |