From: Neil Booth Date: Sat, 26 Apr 2003 12:55:09 +0000 (+0000) Subject: * _cpp_lex_direct: Remove pointless code. X-Git-Tag: releases/gcc-3.4.0~7020 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6dc0cc6d13ae9368d60ea0c22baa00002a47085;p=thirdparty%2Fgcc.git * _cpp_lex_direct: Remove pointless code. From-SVN: r66106 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 39efa643fcb2..0b272cc6a391 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2003-04-26 Neil Booth + + * _cpp_lex_direct: Remove pointless code. + 2003-04-26 Stephane Carrez * doc/extend.texi (Function Attributes): Document "near" and "far" diff --git a/gcc/cpplex.c b/gcc/cpplex.c index 4f0767e42c8e..b4893bd5fccf 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)