Update generator to reflect IdString changes
This commit is contained in:
@@ -168,9 +168,8 @@ pyosys_headers = [
|
||||
"global_negative_id_prefix_storage_",
|
||||
"global_refcount_storage_",
|
||||
"global_free_idx_list_",
|
||||
"last_created_idx_ptr_",
|
||||
"last_created_idx_",
|
||||
"builtin_ff_cell_types",
|
||||
"substrings",
|
||||
}
|
||||
),
|
||||
),
|
||||
@@ -455,7 +454,7 @@ class PyosysWrapperGenerator(object):
|
||||
) -> str:
|
||||
is_method = isinstance(function, Method)
|
||||
function_return_type = function.return_type.format()
|
||||
if class_basename == "Const" and function_return_type in {
|
||||
if class_basename in {"Const","IdString"} and function_return_type in {
|
||||
"iterator",
|
||||
"const_iterator",
|
||||
}:
|
||||
|
||||
Reference in New Issue
Block a user