mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-21 03:53:53 +08:00
Make builtin_parse output to stdout
This commit is contained in:
parent
d5d9b9284a
commit
e25d49b80b
@ -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);
|
||||
}
|
||||
const wcstring dump = parse_dump_tree(parse_tree, src);
|
||||
fprintf(stderr, "%ls", dump.c_str());
|
||||
stdout_buffer.append(dump);
|
||||
}
|
||||
return STATUS_BUILTIN_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user