From: eddiehung Date: Tue, 28 Apr 2015 07:56:00 +0000 (+0100) Subject: For vtr, escape angle brackets as well X-Git-Tag: yosys-0.7~186^2~3^2~2 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=872e13321c4c39997d3b14408224ef1c2fcc0821;p=yosys.git For vtr, escape angle brackets as well --- diff --git a/backends/blif/blif.cc b/backends/blif/blif.cc index bbc0614e4..4a5121977 100644 --- 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();