fix checker to use read for singleton variables, instead of always computing

them.
This commit is contained in:
Vítor Santos Costa
2014-04-23 21:39:32 +01:00
parent 605e68c80d
commit f1951777b7
14 changed files with 358 additions and 82 deletions

View File

@@ -120,8 +120,9 @@ LookupModule(Term a )
ModEntry *me;
/* prolog module */
if (a == 0)
if (a == 0) {
return GetModuleEntry(AtomProlog);
}
at = AtomOfTerm(a);
me = GetModuleEntry(at);
return me;