For vtr, escape angle brackets as well

This commit is contained in:
eddiehung 2015-04-28 08:56:00 +01:00
parent 058deb777e
commit 872e13321c
1 changed files with 1 additions and 1 deletions

View File

@ -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();