Also escape "=" in spice output
authorClifford Wolf <clifford@clifford.at>
Fri, 20 May 2016 14:43:13 +0000 (16:43 +0200)
committerClifford Wolf <clifford@clifford.at>
Fri, 20 May 2016 14:43:13 +0000 (16:43 +0200)
backends/spice/spice.cc

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