mirror of
https://github.com/YosysHQ/yosys
synced 2025-07-31 08:23:19 +00:00
substr() -> compare()
This commit is contained in:
parent
71eff6f0de
commit
6d77236f38
31 changed files with 127 additions and 127 deletions
|
@ -121,7 +121,7 @@ struct CoverPass : public Pass {
|
|||
}
|
||||
break;
|
||||
}
|
||||
while (argidx < args.size() && args[argidx].substr(0, 1) != "-")
|
||||
while (argidx < args.size() && args[argidx].compare(0, 1, "-") != 0)
|
||||
patterns.push_back(args[argidx++]);
|
||||
extra_args(args, argidx, design);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue