improve C-interface and SWI comptaibility a bit.
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@2292 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
@@ -546,11 +546,11 @@ ParseTerm(int prio, JMPBUFF *FailBuff)
|
||||
if (*p == 0)
|
||||
t = MkAtomTerm(AtomNil);
|
||||
else if (yap_flags[YAP_DOUBLE_QUOTES_FLAG] == STRING_AS_CHARS)
|
||||
t = Yap_WStringToListOfAtoms(p);
|
||||
t = Yap_WideStringToListOfAtoms(p);
|
||||
else if (yap_flags[YAP_DOUBLE_QUOTES_FLAG] == STRING_AS_ATOM)
|
||||
t = MkAtomTerm(Yap_LookupWideAtom(p));
|
||||
else
|
||||
t = Yap_WStringToList(p);
|
||||
t = Yap_WideStringToList(p);
|
||||
NextToken;
|
||||
}
|
||||
break;
|
||||
|
Reference in New Issue
Block a user