mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-01 11:51:21 +00:00
show: escape angle brackets
This commit is contained in:
parent
25954715f0
commit
22c9237716
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ struct ShowWorker
|
||||||
str += "╲";
|
str += "╲";
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (ch == '"')
|
if (ch == '"' || ch == '<' || ch == '>')
|
||||||
str += "\\";
|
str += "\\";
|
||||||
str += ch;
|
str += ch;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue