better handling for scanning errors;
make Yap_error_output a global variable. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@693 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -504,6 +504,9 @@ ParseTerm(int prio)
|
||||
NextToken;
|
||||
break;
|
||||
|
||||
case Error_tok:
|
||||
FAIL;
|
||||
|
||||
case Ponctuation_tok:
|
||||
switch ((int) Yap_tokptr->TokInfo) {
|
||||
case '(':
|
||||
|
Reference in New Issue
Block a user