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++)
|
for (argidx = 1; argidx < args.size(); argidx++)
|
||||||
{
|
{
|
||||||
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
|
if (args[argidx] == "-set_attr" && argidx+2 < args.size()) {
|
||||||
attr_name = args[argidx++];
|
attr_name = RTLIL::escape_id(args[argidx++]);
|
||||||
attr_value = args[argidx++];
|
attr_value = args[argidx++];
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
|
if (args[argidx] == "-unpart" && argidx+1 < args.size()) {
|
||||||
unpart_mode = true;
|
attr_name = RTLIL::escape_id(args[argidx++]);
|
||||||
attr_name = args[argidx++];
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
if (args[argidx] == "-enable") {
|
if (args[argidx] == "-enable") {
|
||||||
|
|
Loading…
Reference in New Issue