Permalink
Browse files

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").
  • Loading branch information...
albert-github committed Jul 25, 2015
1 parent 45e153f commit a1b3f7b1157b8e7b392bfcd6c6452c664bf5a7c2
Showing with 3 additions and 1 deletion.
  1. +3 −1 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
{

0 comments on commit a1b3f7b

Please sign in to comment.