Blame doxygen-1.8.10-xml.patch

Than Ngo 5e50ad
diff --git a/src/pyscanner.l b/src/pyscanner.l
Than Ngo 5e50ad
index 8332a36..8cbfc6c 100644
Than Ngo 5e50ad
--- a/src/pyscanner.l
Than Ngo 5e50ad
+++ b/src/pyscanner.l
Than Ngo 5e50ad
@@ -963,7 +963,9 @@ STARTDOCSYMS      "##"
Than Ngo 5e50ad
 			    {
Than Ngo 5e50ad
 			      current->argList->getLast()->defval=g_defVal.stripWhiteSpace();
Than Ngo 5e50ad
 			    }
Than Ngo 5e50ad
-       			    BEGIN(FunctionParams);
Than Ngo 5e50ad
+			    if (*yytext == ')')
Than Ngo 5e50ad
+			      current->args = argListToString(current->argList);
Than Ngo 5e50ad
+			    BEGIN(FunctionParams);
Than Ngo 5e50ad
 			  }
Than Ngo 5e50ad
 			  else // continue
Than Ngo 5e50ad
 			  {
Than Ngo 5e50ad
diff --git a/src/pyscanner.l b/src/pyscanner.l
Than Ngo 5e50ad
index 8332a36..f663837 100644
Than Ngo 5e50ad
--- a/src/pyscanner.l
Than Ngo 5e50ad
+++ b/src/pyscanner.l
Than Ngo 5e50ad
@@ -1278,6 +1278,12 @@ STARTDOCSYMS      "##"
Than Ngo 5e50ad
 			initTriSingleQuoteBlock();
Than Ngo 5e50ad
 			BEGIN(TripleComment);
Than Ngo 5e50ad
                       }
Than Ngo 5e50ad
+   "'"	              {
Than Ngo 5e50ad
+       			g_stringContext=YY_START;
Than Ngo 5e50ad
+			current->initializer+="'";
Than Ngo 5e50ad
+			g_copyString=&current->initializer;
Than Ngo 5e50ad
+                        BEGIN( SingleQuoteString );
Than Ngo 5e50ad
+                      }
Than Ngo 5e50ad
    "\""	              {
Than Ngo 5e50ad
        			g_stringContext=YY_START;
Than Ngo 5e50ad
 			current->initializer+="\"";