mirror of https://github.com/YosysHQ/yosys.git
pass jny: removed the invalid json escapes
This commit is contained in:
parent
dccc89e8b3
commit
cae5ea8337
|
@ -64,30 +64,18 @@ struct JnyWriter
|
|||
} case '\f': {
|
||||
newstr += "\\f";
|
||||
break;
|
||||
} case '\v': {
|
||||
newstr += "\\v";
|
||||
break;
|
||||
} case '\t': {
|
||||
newstr += "\\t";
|
||||
break;
|
||||
} case '\a': {
|
||||
newstr += "\\a";
|
||||
break;
|
||||
} case '\r': {
|
||||
newstr += "\\r";
|
||||
break;
|
||||
} case '\"': {
|
||||
newstr += "\\\"";
|
||||
break;
|
||||
} case '\'': {
|
||||
newstr += "\\\'";
|
||||
break;
|
||||
} case '\b': {
|
||||
newstr += "\\b";
|
||||
break;
|
||||
} case '\?': {
|
||||
newstr += "\\?";
|
||||
break;
|
||||
} default: {
|
||||
newstr += *itr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue