bug in EOF processing when doing read.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@885 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -884,7 +884,7 @@ Yap_tokenizer(int inp_stream)
|
||||
if(Yap_Option[2]) fprintf(Yap_stderr,"[Token %d %ld]",Ord(kind),(unsigned long int)t->TokInfo);
|
||||
#endif
|
||||
if (Yap_ErrorMessage) {
|
||||
/* insert an error token to inform the system on what happened */
|
||||
/* insert an error token to inform the system of what happened */
|
||||
TokEntry *e = (TokEntry *) AllocScannerMemory(sizeof(TokEntry));
|
||||
if (e == NULL) {
|
||||
Yap_ErrorMessage = "not enough stack space to read in term";
|
||||
|
||||
Reference in New Issue
Block a user