3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-04-28 19:35:53 +00:00

look at all those chickens

This commit is contained in:
Emil J. Tywoniak 2024-06-13 14:27:11 +02:00
parent 8bdcc6987b
commit 61cf4b6fb6
15 changed files with 48 additions and 42 deletions

View file

@ -274,7 +274,8 @@ Const json_parse_attr_param_value(JsonNode *node)
return value;
}
void json_parse_attr_param(dict<IdString, Const> &results, JsonNode *node)
template <typename SmellsLikeDict>
void json_parse_attr_param(SmellsLikeDict &results, JsonNode *node)
{
if (node->type != 'D')
log_error("JSON attributes or parameters node is not a dictionary.\n");