diff options
author | Neil Booth <neil@daikokuya.co.uk> | 2003-04-26 12:55:09 +0000 |
---|---|---|
committer | Neil Booth <neil@gcc.gnu.org> | 2003-04-26 12:55:09 +0000 |
commit | e6dc0cc6d13ae9368d60ea0c22baa00002a47085 (patch) | |
tree | 34f999a3ba27f3364881fb2005c6e1700d3dd574 /gcc | |
parent | 5936c7e7ac81a226d30c1cfdaae397ed009258df (diff) | |
download | gcc-e6dc0cc6d13ae9368d60ea0c22baa00002a47085.zip gcc-e6dc0cc6d13ae9368d60ea0c22baa00002a47085.tar.gz gcc-e6dc0cc6d13ae9368d60ea0c22baa00002a47085.tar.bz2 |
* _cpp_lex_direct: Remove pointless code.
From-SVN: r66106
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/cpplex.c | 6 |
2 files changed, 4 insertions, 6 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39efa64..0b272cc 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-26 Neil Booth <neil@daikokuya.co.uk> + + * _cpp_lex_direct: Remove pointless code. + 2003-04-26 Stephane Carrez <stcarrez@nerim.fr> * doc/extend.texi (Function Attributes): Document "near" and "far" diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 4f0767e..b4893bd 100644 --- a/gcc/cpplex.c +++ b/gcc/cpplex.c @@ -776,12 +776,6 @@ _cpp_lex_direct (pfile) if (!_cpp_get_fresh_line (pfile)) { result->type = CPP_EOF; - if (!pfile->state.in_directive) - { - /* Tell the compiler the line number of the EOF token. */ - result->line = pfile->line; - result->flags = BOL; - } return result; } if (!pfile->keep_tokens) |