mirror of https://github.com/YosysHQ/abc.git
patch rewire with empty name
This commit is contained in:
parent
0ae04514cd
commit
04161dfda8
|
|
@ -105,9 +105,13 @@ void Miaig::setName(char *pName) {
|
||||||
if (_data->pName) {
|
if (_data->pName) {
|
||||||
free(_data->pName);
|
free(_data->pName);
|
||||||
}
|
}
|
||||||
|
if (pName == NULL || pName[0] == '\0') {
|
||||||
|
_data->pName = strdup("rewire_miaig");
|
||||||
|
} else {
|
||||||
_data->pName = strdup(pName);
|
_data->pName = strdup(pName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
void Miaig::print(void) {
|
void Miaig::print(void) {
|
||||||
int i, k, iLit;
|
int i, k, iLit;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue