fixes to message handling

This commit is contained in:
Vitor Santos Costa
2014-01-07 01:10:48 +00:00
parent 26c80b0624
commit bcc1757989
11 changed files with 30 additions and 37 deletions

View File

@@ -2852,7 +2852,7 @@ YAP_Read(IOSTREAM *inp)
BACKUP_MACHINE_REGS();
tokstart = LOCAL_tokptr = LOCAL_toktide = Yap_tokenizer(inp, FALSE, &tpos);
tokstart = LOCAL_tokptr = LOCAL_toktide = Yap_tokenizer(inp, FALSE, &tpos, &rd);
if (LOCAL_ErrorMessage)
{
Yap_clean_tokenizer(tokstart, LOCAL_VarTable, LOCAL_AnonVarTable, LOCAL_Comments);