more ATOM changes.
This commit is contained in:
10
C/errors.c
10
C/errors.c
@@ -773,7 +773,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
Term ti[2];
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(AtomStream);
|
||||
ti[0] = MkAtomTerm(AtomVStream);
|
||||
ti[1] = where;
|
||||
nt[0] = Yap_MkApplTerm(FunctorDomainError, 2, ti);
|
||||
tp = tmpbuf+i;
|
||||
@@ -893,7 +893,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
Term ti[2];
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(AtomStream);
|
||||
ti[0] = MkAtomTerm(AtomVStream);
|
||||
ti[1] = where;
|
||||
nt[0] = Yap_MkApplTerm(FunctorExistenceError, 2, ti);
|
||||
tp = tmpbuf+i;
|
||||
@@ -1172,7 +1172,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(AtomInput);
|
||||
ti[1] = MkAtomTerm(AtomStream);
|
||||
ti[1] = MkAtomTerm(AtomVStream);
|
||||
ti[2] = where;
|
||||
nt[0] = Yap_MkApplTerm(FunctorPermissionError, 3, ti);
|
||||
tp = tmpbuf+i;
|
||||
@@ -1268,7 +1268,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(AtomOutput);
|
||||
ti[1] = MkAtomTerm(AtomStream);
|
||||
ti[1] = MkAtomTerm(AtomVStream);
|
||||
ti[2] = where;
|
||||
nt[0] = Yap_MkApplTerm(FunctorPermissionError, 3, ti);
|
||||
tp = tmpbuf+i;
|
||||
@@ -1300,7 +1300,7 @@ Yap_Error(yap_error_number type, Term where, char *format,...)
|
||||
|
||||
i = strlen(tmpbuf);
|
||||
ti[0] = MkAtomTerm(AtomReposition);
|
||||
ti[1] = MkAtomTerm(AtomStream);
|
||||
ti[1] = MkAtomTerm(AtomVStream);
|
||||
ti[2] = where;
|
||||
nt[0] = Yap_MkApplTerm(FunctorPermissionError, 3, ti);
|
||||
tp = tmpbuf+i;
|
||||
|
Reference in New Issue
Block a user