avoid unnecessary processing when a stream has 32 or fewer nested parenthesis. #1201
parent
3b20d41a92
commit
952f545cd7
|
@ -1296,6 +1296,8 @@ void
|
|||
ModelTree::fixNestedParenthesis(ostringstream &output, map<string, string> &tmp_paren_vars) const
|
||||
{
|
||||
string str = output.str();
|
||||
if (!testNestedParenthesis(str))
|
||||
return;
|
||||
int open = 0;
|
||||
int first_open_paren = 0;
|
||||
int matching_paren = 0;
|
||||
|
|
Loading…
Reference in New Issue