OSDN Git Service

* cpplex.c (_cpp_get_fresh_line): Revert my no-longer-needed
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2003 07:20:38 +0000 (07:20 +0000)
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Oct 2003 07:20:38 +0000 (07:20 +0000)
commit11b5269c49d5849aa9909a0147b38cc8d44d7d90
tree556b83797cd04698faea5798a63e42ef3fda0c52
parent203dac8e58147d21ac10ceb10fc519e79e67a847
* cpplex.c (_cpp_get_fresh_line):  Revert my no-longer-needed
08-28 change, since we're never called with a NULL buffer.
(_cpp_lex_direct):  Likewise.
* cpptrad.c (_cpp_read_logical_line_trad):  Likewise.
Return false if buffer is NULL at end.

* cpplex.c (_cpp_get_fresh_line):  Return value now just depends on
whether pfile->buffer is NULL after pop, ignoring return_at_eof.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72013 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cpplex.c
gcc/cpptrad.c