mirror of
https://github.com/YosysHQ/yosys
synced 2025-09-30 21:19:30 +00:00
Remove unnecessary c_str() calls from err_at_loc/warn_at_loc
This commit is contained in:
parent
8cd3c069d6
commit
f4699e2b10
2 changed files with 13 additions and 13 deletions
|
@ -51,7 +51,7 @@ static std::list<std::vector<std::string>> verilog_defaults_stack;
|
|||
static void error_on_dpi_function(AST::AstNode *node)
|
||||
{
|
||||
if (node->type == AST::AST_DPI_FUNCTION)
|
||||
err_at_loc(node->location, "Found DPI function %s.\n", node->str.c_str());
|
||||
err_at_loc(node->location, "Found DPI function %s.\n", node->str);
|
||||
for (auto& child : node->children)
|
||||
error_on_dpi_function(child.get());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue