mirror of https://github.com/YosysHQ/yosys.git
For vtr, escape angle brackets as well
This commit is contained in:
parent
058deb777e
commit
872e13321c
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue