mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 02:45:52 +00:00
IdString::str().substr() -> IdString::substr()
This commit is contained in:
parent
234fcf1724
commit
ee7c970367
2 changed files with 2 additions and 2 deletions
|
@ -2319,7 +2319,7 @@ skip_dynamic_range_lvalue_expansion:;
|
|||
if (attr.first.str().rfind("\\via_celltype_defparam_", 0) == 0)
|
||||
{
|
||||
AstNode *cell_arg = new AstNode(AST_PARASET, attr.second->clone());
|
||||
cell_arg->str = RTLIL::escape_id(attr.first.str().substr(strlen("\\via_celltype_defparam_")));
|
||||
cell_arg->str = RTLIL::escape_id(attr.first.substr(strlen("\\via_celltype_defparam_")));
|
||||
cell->children.push_back(cell_arg);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue