Index: src/pyscanner.l
===================================================================
RCS file: /cygdrive/d/cvs_doxygen/doxygen/doxygen/src/pyscanner.l,v
retrieving revision 1.5
diff -u -r1.5 pyscanner.l
--- src/pyscanner.l	11 Dec 2012 18:59:17 -0000	1.5
+++ src/pyscanner.l	7 Jan 2013 19:38:55 -0000
@@ -1155,36 +1155,38 @@
 <VariableDec>{
    "="                { // the assignment operator
                         //printf("====== VariableDec at line %d\n",yyLineNr);
+			current->initializer = yytext;
+			current->initializer += " ";
                       }
    {B}                { // spaces
 	              }
    {INTNUMBER}	      { // integer value
 			current->type = "int";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			BEGIN(VariableEnd);
 		      }
    {FLOATNUMBER}      { // floating point value
 			current->type = "float";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			BEGIN(VariableEnd);
 		      }
    {STRINGPREFIX}?"'" { // string
 			current->type = "string";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			g_copyString=&current->initializer;
        			g_stringContext=VariableEnd;
                         BEGIN( SingleQuoteString );
      		      }
    {STRINGPREFIX}?"\"" { // string
 			current->type = "string";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			g_copyString=&current->initializer;
        			g_stringContext=VariableEnd;
                         BEGIN( DoubleQuoteString );
      		      }
    {TRIDOUBLEQUOTE}   { // start of a comment block
 			current->type = "string";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			g_doubleQuote=TRUE;
 			g_copyString=&current->initializer;
        			g_stringContext=VariableEnd;
@@ -1193,7 +1195,7 @@
 
    {TRISINGLEQUOTE}   { // start of a comment block
 			current->type = "string";
-			current->initializer = yytext;
+			current->initializer += yytext;
 			g_doubleQuote=FALSE;
 			g_copyString=&current->initializer;
        			g_stringContext=VariableEnd;
