3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-06 17:44:09 +00:00

show: escape angle brackets

This commit is contained in:
N. Engelhardt 2023-06-20 11:17:12 +02:00
parent 25954715f0
commit 22c9237716

View file

@ -208,7 +208,7 @@ struct ShowWorker
str += "╲";
continue;
}
if (ch == '"')
if (ch == '"' || ch == '<' || ch == '>')
str += "\\";
str += ch;
}