mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-10-06 01:53:53 +02:00
Fix preventing show crashing with newer graphviz
This commit is contained in:
+6
-1
@@ -191,7 +191,12 @@ struct ShowWorker
|
||||
|
||||
std::string str;
|
||||
for (char ch : id) {
|
||||
if (ch == '\\' || ch == '"')
|
||||
if (ch == '\\') {
|
||||
// new graphviz have bug with escaping '\'
|
||||
str += "╲";
|
||||
continue;
|
||||
}
|
||||
if (ch == '"')
|
||||
str += "\\";
|
||||
str += ch;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user