projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e152f7
)
Fix extra newline bug in write_smt2
author
Clifford Wolf
<clifford@clifford.at>
Sun, 26 Feb 2017 13:41:27 +0000
(14:41 +0100)
committer
Clifford Wolf
<clifford@clifford.at>
Sun, 26 Feb 2017 13:41:27 +0000
(14:41 +0100)
backends/smt2/smt2.cc
patch
|
blob
|
history
diff --git
a/backends/smt2/smt2.cc
b/backends/smt2/smt2.cc
index 24731d1c7ddd6bac292c97b0f15cd6fb44078fd9..b550a40bd159eab8e38f46a6cfe049b536d7582f 100644
(file)
--- 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);
}