fix previous fix
git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@429 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
parent
aba3854c27
commit
8d579bb35d
@ -771,8 +771,9 @@ stream_property(Stream, Prop) :- var(Prop), !,
|
|||||||
'$stream_property'(Stream, Prop).
|
'$stream_property'(Stream, Prop).
|
||||||
stream_property(Stream, Props) :- var(Stream), !,
|
stream_property(Stream, Props) :- var(Stream), !,
|
||||||
'$current_stream'(_,_,Stream),
|
'$current_stream'(_,_,Stream),
|
||||||
'$stream_property'(Stream, Props), !.
|
'$stream_property'(Stream, Props).
|
||||||
stream_property(Stream, Props) :-
|
stream_property(Stream, Props) :-
|
||||||
|
'$current_stream'(_,_,Stream), !,
|
||||||
'$stream_property'(Stream, Props).
|
'$stream_property'(Stream, Props).
|
||||||
stream_property(Stream, Props) :-
|
stream_property(Stream, Props) :-
|
||||||
throw(error(domain_error(stream,Stream),stream_property(Stream, Props))).
|
throw(error(domain_error(stream,Stream),stream_property(Stream, Props))).
|
||||||
|
Reference in New Issue
Block a user