mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-18 03:46:18 +00:00
Merge pull request #1194 from cr1901/miss-semi
Fix missing semicolon in Windows-specific code in aigerparse.cc.
This commit is contained in:
commit
a97d30d2f8
1 changed files with 2 additions and 2 deletions
|
@ -1062,8 +1062,8 @@ struct AigerFrontend : public Frontend {
|
||||||
if (module_name.empty()) {
|
if (module_name.empty()) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
char fname[_MAX_FNAME];
|
char fname[_MAX_FNAME];
|
||||||
_splitpath(filename.c_str(), NULL /* drive */, NULL /* dir */, fname, NULL /* ext */)
|
_splitpath(filename.c_str(), NULL /* drive */, NULL /* dir */, fname, NULL /* ext */);
|
||||||
module_name = fname;
|
module_name = fname;
|
||||||
#else
|
#else
|
||||||
char* bn = strdup(filename.c_str());
|
char* bn = strdup(filename.c_str());
|
||||||
module_name = RTLIL::escape_id(bn);
|
module_name = RTLIL::escape_id(bn);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue