Permalink
Browse files

Function declaration following a function definition incorrectly list…

…ed as calling dependencing
  • Loading branch information...
Dimitri van Heesch
Dimitri van Heesch committed Apr 2, 2017
1 parent 127a43d commit 436fc7ed1158d517dd6f6d25aa3e05568f8c3d94
Showing with 1 addition and 11 deletions.
  1. +1 −11 src/code.l
View
@@ -1943,7 +1943,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_code->codify(yytext);
if (*yytext=='{')
{
g_curlyCount++;
if (g_searchingForBody)
{
g_searchingForBody=FALSE;
@@ -2066,11 +2065,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
<SkipCPP>"//" {
g_code->codify(yytext);
}
<Body,FuncCall>"}" {
g_theVarContext.popScope();
g_yyColNr++;
g_code->codify(yytext);
}
<Body,FuncCall>"{" {
g_theVarContext.pushScope();
@@ -2083,7 +2077,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_insideBody=TRUE;
}
g_code->codify(yytext);
g_curlyCount++;
if (g_insideBody)
{
g_bodyCurlyCount++;
@@ -2092,7 +2085,7 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_name.resize(0);
BEGIN( Body );
}
<Body,MemberCall,MemberCall2>"}" {
<Body,FuncCall,MemberCall,MemberCall2>"}" {
g_theVarContext.popScope();
g_type.resize(0);
g_name.resize(0);
@@ -2265,7 +2258,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
<Bases,ClassName,ClassVar,CppCliTypeModifierFollowup>{B}*"{"{B}* {
g_theVarContext.pushScope();
g_code->codify(yytext);
g_curlyCount++;
if (YY_START==ClassVar && g_curClassName.isEmpty())
{
g_curClassName = g_name.copy();
@@ -3156,7 +3148,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
g_insideBody=TRUE;
}
if (g_insideBody) g_bodyCurlyCount++;
g_curlyCount++;
g_type.resize(0); g_name.resize(0);
BEGIN( Body );
}
@@ -3211,7 +3202,6 @@ RAWEND ")"[^ \t\(\)\\]{0,16}\"
}
<SkipInits>"{" {
g_code->codify(yytext);
g_curlyCount++;
if (g_searchingForBody)
{
g_searchingForBody=FALSE;

0 comments on commit 436fc7e

Please sign in to comment.