fix bug in index emulator

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1905 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc
2007-06-20 13:48:45 +00:00
parent 50e39bef80
commit 7a98e7df59
4 changed files with 25 additions and 6 deletions

View File

@@ -62,7 +62,7 @@ check_opts([A|L],I0,IF,G) :- !,
check_opts(Opts,_,_,G) :-
throw(error(type_error(variable,Opts),G)).
process_opt(V,I,G) :- var(V), !,
process_opt(V,_,G) :- var(V), !,
throw(error(instantiation_error,G)).
process_opt(nocase,1,_) :- !.
process_opt(indices,2,_) :- !.