Fixed a bug where EOS/EOF was interpreted as a stream error

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40213
This commit is contained in:
David Anderson 2006-12-13 11:14:25 +00:00
parent e2935a2ae4
commit dc60ae49de

View File

@ -233,8 +233,7 @@ SMCParseError CTextParsers::ParseStream_SMC(void *stream,
{ {
if (!read) if (!read)
{ {
err = SMCParse_StreamError; break;
goto failed;
} }
/* :TODO: do this outside of the main loop somehow /* :TODO: do this outside of the main loop somehow