summaryrefslogtreecommitdiffstats
path: root/src/pyscanner.l
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-12-26 14:08:17 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-12-26 14:08:17 (GMT)
commit6447c90acb51807d272ce2f24a94574a413d36e0 (patch)
tree09c464f2479a9bbb6741c792555b28e7c066ae01 /src/pyscanner.l
parent165498dc9ea33bc9991c5ab5234b5e51d74569d0 (diff)
downloadDoxygen-6447c90acb51807d272ce2f24a94574a413d36e0.zip
Doxygen-6447c90acb51807d272ce2f24a94574a413d36e0.tar.gz
Doxygen-6447c90acb51807d272ce2f24a94574a413d36e0.tar.bz2
Bug 732356 - doxygen's \param command is confused by some python default values
Decrement brace count only in case of a ')' not in case of a ','
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;
}
}