mirror of https://github.com/YosysHQ/yosys.git
Escape IdStrings
This commit is contained in:
parent
165f5cb6cf
commit
907c8aeaef
|
@ -74,13 +74,12 @@ struct ClkPartPass : public Pass {
|
|||
for (argidx = 1; argidx < args.size(); argidx++)
|
||||
{
|
||||
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
|
||||
attr_name = args[argidx++];
|
||||
attr_name = RTLIL::escape_id(args[argidx++]);
|
||||
attr_value = args[argidx++];
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
|
||||
unpart_mode = true;
|
||||
attr_name = args[argidx++];
|
||||
attr_name = RTLIL::escape_id(args[argidx++]);
|
||||
continue;
|
||||
}
|
||||
if (args[argidx] == "-enable") {
|
||||
|
|
Loading…
Reference in New Issue