Skip to content

Commit

Permalink
bug fix of g_bracketCount in case of if( myobject.getPair() )
Browse files Browse the repository at this point in the history
  • Loading branch information
cheoljoo committed Oct 31, 2019
1 parent 8cd3470 commit 6b2def9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/code.l
Expand Up @@ -2775,7 +2775,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_name.resize(0);
}
g_type.resize(0);
g_bracketCount=0;
// g_bracketCount=0; // ex. when we parse this syntax " if( myobject.getPair()) " , we have problem that g_braceCount has wrong value as zero at "getPair(".
if (g_memCallContext==Body)
{
BEGIN(FuncCall);
Expand Down

0 comments on commit 6b2def9

Please sign in to comment.