Merge branch 'master' of https://github.com/vscosta/yap-6.3
This commit is contained in:
commit
27227b75c7
@ -101,8 +101,7 @@ Just fail
|
|||||||
*/
|
*/
|
||||||
YAP_FLAG(TYPEIN_MODULE_FLAG, "typein_module", true, isatom, "user",
|
YAP_FLAG(TYPEIN_MODULE_FLAG, "typein_module", true, isatom, "user",
|
||||||
typein),
|
typein),
|
||||||
YAP_FLAG(USER_ERROR_FLAG, "user_error", true, stream, "user_error",
|
/**<
|
||||||
set_error_stream), /**<
|
|
||||||
|
|
||||||
If the second argument is bound to a stream, set user_error to
|
If the second argument is bound to a stream, set user_error to
|
||||||
this stream. If the second argument is unbound, unify the argument with
|
this stream. If the second argument is unbound, unify the argument with
|
||||||
@ -133,10 +132,12 @@ prompts from the system were redirected to the stream
|
|||||||
automatically redirects the user_error alias to the original
|
automatically redirects the user_error alias to the original
|
||||||
`stderr`.
|
`stderr`.
|
||||||
*/
|
*/
|
||||||
YAP_FLAG(USER_INPUT_FLAG, "user_input", true, stream, "user_input",
|
YAP_FLAG(USER_ERROR_FLAG, "user_error", true, stream, "user_error",
|
||||||
set_input_stream),
|
set_error_stream),
|
||||||
YAP_FLAG(USER_OUTPUT_FLAG, "user_output", true, stream, "user_output",
|
YAP_FLAG(USER_INPUT_FLAG, "user_input", true, stream, "user_input",
|
||||||
set_output_stream)
|
set_input_stream),
|
||||||
|
YAP_FLAG(USER_OUTPUT_FLAG, "user_output", true, stream, "user_output",
|
||||||
|
set_output_stream),
|
||||||
|
|
||||||
END_LOCAL_FLAGS
|
END_LOCAL_FLAGS
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user