From 6447c90acb51807d272ce2f24a94574a413d36e0 Mon Sep 17 00:00:00 2001
From: albert-github <albert.tests@gmail.com>
Date: Sat, 26 Dec 2015 15:08:17 +0100
Subject: 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 ','
---
 src/pyscanner.l | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;
 			  }
        			}
-- 
cgit v0.12