Skip to content

Commit

Permalink
Merge pull request #29 from ra3xdh/24_fix
Browse files Browse the repository at this point in the history
Fixed infinite loop when reading STDIN
  • Loading branch information
ra3xdh authored Sep 30, 2024
2 parents 37658cd + ca2fde5 commit b1072f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ucs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ int main (int argc, char ** argv) {
module::registerDynamicModules (projPath, vamodules);
}

else { //no argument, look into netlist
else if (infile != NULL) { //no argument, look into netlist

std::string sLine = "";
std::ifstream file;
Expand Down

0 comments on commit b1072f1

Please sign in to comment.