From: Clifford Wolf Date: Thu, 21 Mar 2013 08:12:32 +0000 (+0100) Subject: Disabled the per-default dumping of ILANG code X-Git-Tag: yosys-0.2.0~709 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91b94ef57bce14b346830f19f378fbb9fd495c96;p=yosys.git Disabled the per-default dumping of ILANG code --- diff --git a/kernel/driver.cc b/kernel/driver.cc index bc605a461..61f160a6b 100644 --- a/kernel/driver.cc +++ b/kernel/driver.cc @@ -89,10 +89,15 @@ static void run_backend(std::string filename, std::string command, RTLIL::Design command = "ilang"; else if (filename == "-") command = "ilang"; + else if (filename.empty()) + return; else log_error("Can't guess frontend for input file `%s' (missing -f option)!\n", filename.c_str()); } + if (filename.empty()) + filename = "-"; + if (filename == "-") { log("\n-- Writing to stdout using backend `%s' --\n", command.c_str()); } else { @@ -226,7 +231,7 @@ int main(int argc, char **argv) std::string backend_command = "auto"; std::vector passes_commands; std::vector loaded_modules; - std::string output_filename = "-"; + std::string output_filename = ""; std::string scriptfile = ""; bool got_output_filename = false;