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:
parent
316587c96a
commit
6f8a9f3042
|
@ -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";
|
||||
|
|
Reference in New Issue