summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2017-04-02 12:14:56 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2017-04-02 12:14:56 (GMT)
commit436fc7ed1158d517dd6f6d25aa3e05568f8c3d94 (patch)
tree4bdb8609cf83585200d2382b682ebfa180d5ae18 /src
parent127a43d464790dd0312794fe7ae1d92247cd9eef (diff)
downloadDoxygen-436fc7ed1158d517dd6f6d25aa3e05568f8c3d94.zip
Doxygen-436fc7ed1158d517dd6f6d25aa3e05568f8c3d94.tar.gz
Doxygen-436fc7ed1158d517dd6f6d25aa3e05568f8c3d94.tar.bz2
Function declaration following a function definition incorrectly listed as calling dependencing
Diffstat (limited to 'src')
-rw-r--r--src/code.l12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/code.l b/src/code.l
index 783cf7e..b2564e9 100644
--- a/src/code.l
+++ b/src/code.l
@@ -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;