summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
Diffstat (limited to 'src/pyscanner.l')
-rw-r--r--src/pyscanner.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 1ccb943..a7a9890 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -980,7 +980,7 @@ STARTDOCSYMS "##"
}
else // continue
{
- g_braceCount--;
+ if (*yytext == ')')g_braceCount--;
g_defVal+=*yytext;
}
}