From: Clifford Wolf Date: Sun, 26 Feb 2017 13:41:27 +0000 (+0100) Subject: Fix extra newline bug in write_smt2 X-Git-Tag: yosys-0.8~468 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=80ecd7a26f0a7fbf742d176d5aacfed6a7d49d17;p=yosys.git Fix extra newline bug in write_smt2 --- diff --git a/backends/smt2/smt2.cc b/backends/smt2/smt2.cc index 24731d1c7..b550a40bd 100644 --- a/backends/smt2/smt2.cc +++ b/backends/smt2/smt2.cc @@ -81,7 +81,7 @@ struct Smt2Worker else { if (width == 0) { - decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)\n", name.c_str(), get_id(module)); + decl_str = stringf("(declare-fun |%s| (|%s_s|) Bool)", name.c_str(), get_id(module)); } else { decl_str = stringf("(declare-fun |%s| (|%s_s|) (_ BitVec %d))", name.c_str(), get_id(module), width); }