projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
058deb7
)
For vtr, escape angle brackets as well
author
eddiehung
<e.hung@imperial.ac.uk>
Tue, 28 Apr 2015 07:56:00 +0000
(08:56 +0100)
committer
eddiehung
<e.hung@imperial.ac.uk>
Tue, 28 Apr 2015 07:56:00 +0000
(08:56 +0100)
backends/blif/blif.cc
patch
|
blob
|
history
diff --git
a/backends/blif/blif.cc
b/backends/blif/blif.cc
index bbc0614e4fd0f70286807e9f43675102a0b1ca2a..4a5121977424dfc1b2dafcf5dbdb19afc9a8a07a 100644
(file)
--- a/
backends/blif/blif.cc
+++ b/
backends/blif/blif.cc
@@
-66,7
+66,7
@@
struct BlifDumper
{
std::string str = RTLIL::unescape_id(id);
for (size_t i = 0; i < str.size(); i++)
- if (str[i] == '#' || str[i] == '=')
+ if (str[i] == '#' || str[i] == '='
|| str[i] == '<' || str[i] == '>'
)
str[i] = '?';
cstr_buf.push_back(str);
return cstr_buf.back().c_str();