3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-13 04:28:18 +00:00

Also escape "=" in spice output

This commit is contained in:
Clifford Wolf 2016-05-20 16:43:13 +02:00
parent 060bf4819a
commit f3983a0940

View file

@ -29,7 +29,7 @@ PRIVATE_NAMESPACE_BEGIN
static string spice_id2str(IdString id) static string spice_id2str(IdString id)
{ {
static const char *escape_chars = "$\\[]()<>"; static const char *escape_chars = "$\\[]()<>=";
string s = RTLIL::unescape_id(id); string s = RTLIL::unescape_id(id);
for (auto &ch : s) for (auto &ch : s)