gc in dexecute should not use current Y, instead if should look at
parent's Y. git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@393 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -252,7 +252,7 @@ IsStringTerm(Term string) /* checks whether this is a string */
|
||||
if (IsVarTerm(hd)) return(FALSE);
|
||||
if (!IsIntTerm(hd)) return(FALSE);
|
||||
ch = IntOfTerm(HeadOfTerm(string));
|
||||
if (ch < 0 || ch > 255)
|
||||
if ((ch < ' ' || ch > 255) && ch != '\n' && ch != '\t')
|
||||
return(FALSE);
|
||||
string = TailOfTerm(string);
|
||||
if (IsVarTerm(string)) return(FALSE);
|
||||
|
||||
Reference in New Issue
Block a user