Skip to content

Commit

Permalink
Fixed statement for the CI to pass
Browse files Browse the repository at this point in the history
Signed-off-by: Maciej Kurc <mkurc@antmicro.com>
  • Loading branch information
mkurc-ant committed May 17, 2019
1 parent 42abcfa commit 08126c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion frontends/ilang/ilang_parser.y
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,8 @@ param_stmt:
current_module->avail_parameters.insert($2);

// Assume that a parameter has default value of 0
current_module->parameter_information.insert(std::pair<RTLIL::IdString,RTLIL::ParameterInfo>($2, 0));
std::string param_name($2);
current_module->parameter_information.insert(std::pair<RTLIL::IdString,RTLIL::ParameterInfo>(param_name, 0));

// Append attributes
if (!attrbuf.empty()) {
Expand Down

0 comments on commit 08126c2

Please sign in to comment.