Make builtin_parse output to stdout

This commit is contained in:
ridiculousfish 2013-12-12 18:17:30 -08:00
parent d5d9b9284a
commit e25d49b80b

View file

@ -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;
}