Skip to content

Commit

Permalink
New GAP-level var ERROR_OUTPUT for '*errout*'
Browse files Browse the repository at this point in the history
This commit introduces a new global variable ERROR_OUTPUT.

As a next step one can make it possible to change the targets
of the magic strings "*stdout*", "*stdin*", and "*errout*",
as suggested by @fingolfin in gap-system#1815. See gap-system#2822.
  • Loading branch information
ssiccha committed Mar 27, 2019
1 parent 0010e18 commit 633976e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/error.g
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ CallAndInstallPostRestore( function()
ASS_GVAR( "QUITTING", false );
end);

#############################################################################
##
## Default stream for error messages.
ERROR_OUTPUT := "*errout*";

#############################################################################
##
Expand Down

0 comments on commit 633976e

Please sign in to comment.