projects
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5936c7e
)
* _cpp_lex_direct: Remove pointless code.
author
Neil Booth
<neil@daikokuya.co.uk>
Sat, 26 Apr 2003 12:55:09 +0000
(12:55 +0000)
committer
Neil Booth
<neil@gcc.gnu.org>
Sat, 26 Apr 2003 12:55:09 +0000
(12:55 +0000)
From-SVN: r66106
gcc/ChangeLog
patch
|
blob
|
history
gcc/cpplex.c
patch
|
blob
|
history
diff --git
a/gcc/ChangeLog
b/gcc/ChangeLog
index 39efa643fcb248cc9815fcc00a24f2f7f89361c3..0b272cc6a39141693458debf47cf39b4bfb1b2fa 100644
(file)
--- 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 4f0767e42c8eaa916340d2433ebb999fdba2018d..b4893bd5fccfe935bc8c90aceb5ba41afc0f0196 100644
(file)
--- 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)