Skip to content

Commit

Permalink
Update frontend
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea-Guerrieri committed Jan 25, 2023
1 parent 5397575 commit d5c9fc9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Frontend/src/cmd_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -540,6 +540,10 @@ int optimize ( string input_cmp )
std::cout << "Optimize" << endl;
bool area_opt = 0;
bool fast_token_opt = 0;
bool lsq_size_opt = 1;

set_filename = 1;


if ( input_cmp.find("-area") != std::string::npos )
{
Expand All @@ -552,6 +556,11 @@ int optimize ( string input_cmp )
eraseAllSubStr(input_cmp, "-fast-token");
fast_token_opt = 1;
}
if ( input_cmp.find("-no_lsq") != std::string::npos )
{
eraseAllSubStr(input_cmp, "-no_lsq");
lsq_size_opt = 0;
}

string command;
if ( set_filename )
Expand Down

0 comments on commit d5c9fc9

Please sign in to comment.