summaryrefslogtreecommitdiffstats
path: root/src/code.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/code.l')
-rw-r--r--src/code.l8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/code.l b/src/code.l
index b207f9d..ae1168f 100644
--- a/src/code.l
+++ b/src/code.l
@@ -1092,17 +1092,13 @@ TYPEKW ("bool"|"char"|"double"|"float"|"int"|"long"|"short"|"signed"|"unsigned"
g_code->codify(yytext);
- // TODO: remove
g_inClass=FALSE;
- if (--g_curlyCount<=0)
- {
- //g_classScope.resize(0);
- //g_codeParmList.clear();
- }
if (--g_bodyCurlyCount<=0)
{
g_insideBody=FALSE;
+ g_currentMemberDef=0;
+ g_currentDefinition=0;
}
}
<ClassName,ClassVar>";" {