Commit f32b24a5 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

avoid unnecessary processing when a stream has 32 or fewer nested parenthesis. #1201

parent eac97a8f
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment