be able to parse "hello"

This commit is contained in:
Vitor Santos Costa 2010-01-26 12:19:48 +00:00
parent 8ec6791183
commit df267a07b9
1 changed files with 1 additions and 1 deletions

View File

@ -4001,7 +4001,7 @@ static Int
and floats */
old_H = H;
if (Stream[inp_stream].status & Eof_Stream_f) {
if (Yap_eot_before_eof) {
if (Yap_eot_before_eof || (Stream[inp_stream].status & InMemory_Stream_f)) {
/* next read should give out an end of file */
Stream[inp_stream].status |= Push_Eof_Stream_f;
} else {