From a6c96b986be313368b4fa03eba5cf6987448100c Mon Sep 17 00:00:00 2001 From: Clifford Wolf Date: Fri, 26 Dec 2014 10:53:21 +0100 Subject: Added Yosys::{dict,nodict,vector} container types --- passes/cmds/select.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'passes/cmds/select.cc') diff --git a/passes/cmds/select.cc b/passes/cmds/select.cc index 7f841673f..91368f572 100644 --- a/passes/cmds/select.cc +++ b/passes/cmds/select.cc @@ -101,7 +101,7 @@ static bool match_attr_val(const RTLIL::Const &value, std::string pattern, char log_abort(); } -static bool match_attr(const std::map &attributes, std::string name_pat, std::string value_pat, char match_op) +static bool match_attr(const dict &attributes, std::string name_pat, std::string value_pat, char match_op) { if (name_pat.find('*') != std::string::npos || name_pat.find('?') != std::string::npos || name_pat.find('[') != std::string::npos) { for (auto &it : attributes) { @@ -119,7 +119,7 @@ static bool match_attr(const std::map &attributes return false; } -static bool match_attr(const std::map &attributes, std::string match_expr) +static bool match_attr(const dict &attributes, std::string match_expr) { size_t pos = match_expr.find_first_of(""); -- cgit v1.2.3