diff options
author | albert-github <albert.tests@gmail.com> | 2015-07-25 15:44:16 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2015-07-25 15:44:16 (GMT) |
commit | a1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2 (patch) | |
tree | 3463d7cc8b2fa27f59891f4f774de577a17cb197 /src/pyscanner.l | |
parent | 45e153f2238d0fa031d147cfe207e52b913845eb (diff) | |
download | Doxygen-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/pyscanner.l')
-rw-r--r-- | src/pyscanner.l | 4 |
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 { |