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:
@@ -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,_) :- !.
|
||||
|
Reference in New Issue
Block a user