mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Make builtin_parse output to stdout
This commit is contained in:
parent
d5d9b9284a
commit
e25d49b80b
1 changed files with 1 additions and 1 deletions
|
@ -3992,7 +3992,7 @@ int builtin_parse(parser_t &parser, wchar_t **argv)
|
||||||
parse_t::parse(src, parse_flag_continue_after_error, &parse_tree, &errors, true);
|
parse_t::parse(src, parse_flag_continue_after_error, &parse_tree, &errors, true);
|
||||||
}
|
}
|
||||||
const wcstring dump = parse_dump_tree(parse_tree, src);
|
const wcstring dump = parse_dump_tree(parse_tree, src);
|
||||||
fprintf(stderr, "%ls", dump.c_str());
|
stdout_buffer.append(dump);
|
||||||
}
|
}
|
||||||
return STATUS_BUILTIN_OK;
|
return STATUS_BUILTIN_OK;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue