Skip to content

Commit

Permalink
Merge pull request #31 from TAPAAL/srba-patch-1
Browse files Browse the repository at this point in the history
Update main.cpp
  • Loading branch information
srba authored Feb 9, 2024
2 parents 46c2e31 + d480358 commit a42a319
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,10 @@ int main(int argc, char* argv[])

tapn->Initialize(options.GetUntimedPlacesEnabled());

if (options.GetPrintBindings()) {
std::cout << output_stream.get()->str();
}

std::unique_ptr<AST::Query> query;
try{
auto qfile = std::ifstream(options.QueryFile());
Expand Down Expand Up @@ -225,10 +229,6 @@ int main(int argc, char* argv[])
return 1;
}

if (options.GetPrintBindings()) {
std::cout << output_stream.get()->str();
}

return 0;
}

Expand Down

0 comments on commit a42a319

Please sign in to comment.