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:
@@ -3660,7 +3660,7 @@ syntax_error (TokEntry * tokptr, int sno)
|
||||
break;
|
||||
case WString_tok:
|
||||
{
|
||||
Term t0 = Yap_WStringToList((wchar_t *)info);
|
||||
Term t0 = Yap_WideStringToList((wchar_t *)info);
|
||||
ts[0] = Yap_MkApplTerm(Yap_MkFunctor(Yap_LookupAtom("string"),1),1,&t0);
|
||||
}
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user