summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2015-07-25 15:44:16 (GMT)
committeralbert-github <albert.tests@gmail.com>2015-07-25 15:44:16 (GMT)
commita1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2 (patch)
tree3463d7cc8b2fa27f59891f4f774de577a17cb197 /src
parent45e153f2238d0fa031d147cfe207e52b913845eb (diff)
downloadDoxygen-a1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2.zip
Doxygen-a1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2.tar.gz
Doxygen-a1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2.tar.bz2
Bug 752658 - XML empty <argsstring/> in python
Problem comes from the fact that the last argument has a default value and in this case the routine argListToString is mot called as it is done in case of ')' after an argument without default value (see section "FunctionParams").
Diffstat (limited to 'src')
-rw-r--r--src/pyscanner.l4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/pyscanner.l b/src/pyscanner.l
index 8332a36..8cbfc6c 100644
--- a/src/pyscanner.l
+++ b/src/pyscanner.l
@@ -963,7 +963,9 @@ STARTDOCSYMS "##"
{
current->argList->getLast()->defval=g_defVal.stripWhiteSpace();
}
- BEGIN(FunctionParams);
+ if (*yytext == ')')
+ current->args = argListToString(current->argList);
+ BEGIN(FunctionParams);
}
else // continue
{