summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-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;