mirror of https://github.com/YosysHQ/yosys.git
Two passes are not allowed to have the same filename
This commit is contained in:
parent
d41c68ee5a
commit
d87c7df27f
|
@ -44,7 +44,7 @@ void load_plugin(std::string filename, std::vector<std::string> aliases)
|
||||||
if (filename.find('/') == std::string::npos)
|
if (filename.find('/') == std::string::npos)
|
||||||
filename = "./" + filename;
|
filename = "./" + filename;
|
||||||
|
|
||||||
if (!loaded_plugins.count(filename)) {
|
if (!loaded_plugins.count(filename) && !loaded_python_plugins.count(filename)) {
|
||||||
|
|
||||||
#ifdef WITH_PYTHON
|
#ifdef WITH_PYTHON
|
||||||
if(boost::algorithm::ends_with(filename, ".py"))
|
if(boost::algorithm::ends_with(filename, ".py"))
|
||||||
|
|
Loading…
Reference in New Issue