compiler expected module instantiated.

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@444 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2002-04-13 04:59:00 +00:00
parent 316587c96a
commit 6f8a9f3042
1 changed files with 1 additions and 1 deletions

View File

@ -1133,7 +1133,7 @@ c_goal(Term Goal, int mod)
if (IsApplTerm(Goal) && FunctorOfTerm(Goal) == FunctorModule) {
Term M = ArgOfTerm(1, Goal);
if (IsVarTerm(M) || !IsAtomTerm(M)) {
if (!IsVarTerm(M) && !IsAtomTerm(M)) {
Error_TYPE = TYPE_ERROR_ATOM;
Error_Term = M;
ErrorMessage = "in module name";