Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Jan 20, 2025
1 parent 0114335 commit 5a23e65
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bif_format.c
Original file line number Diff line number Diff line change
Expand Up @@ -750,9 +750,9 @@ static bool bif_format_3(query *q)

int n = get_stream(q, pstr);

if (n < 0) {
//return throw_error(q, pstr, pstr_ctx, "domain_error", "stream_or_alias");
} else {
if ((n < 0) && !is_compound(pstr)) {
return throw_error(q, pstr, pstr_ctx, "domain_error", "stream_or_alias");
} else if (!is_compound(pstr)) {
stream *str = &q->pl->streams[n];

if (!strcmp(str->mode, "read"))
Expand Down

0 comments on commit 5a23e65

Please sign in to comment.