Commit 82496bb7 authored by Dimitri van Heesch's avatar Dimitri van Heesch
Browse files

Merge pull request #53 from albert-github/feature/bug_711787

Bug 711787 - Long initialization line in C stops doxygen
parents 7cda115a 057f260b
Loading
Loading
Loading
Loading
+6 −3
Original line number Diff line number Diff line
@@ -241,7 +241,10 @@ void replaceComment(int offset);

%%

<Scan>[^"'!\/\n\\#\\-]*           { /* eat anything that is not " / or \n */ 
<Scan>[^"'!\/\n\\#\\-\\,]*           { /* eat anything that is not " / , or \n */ 
                                       copyToOutput(yytext,(int)yyleng); 
                                     }
<Scan>[\\,]                          { /* eat , so we have a nice separator in long initialization lines */ 
                                       copyToOutput(yytext,(int)yyleng); 
                                     }
<Scan>"\"\"\""!                     { /* start of python long comment */
+4 −1
Original line number Diff line number Diff line
@@ -3252,7 +3252,10 @@ OPERATOR "operator"{B}*({ARITHOP}|{ASSIGNOP}|{LOGICOP}|{BITOP})
					    *pCopyCurlyGString+=yytext; 
					  }
                                        }
<GCopyCurly>[^"'{}\/\n]+		{
<GCopyCurly>[^"'{}\/\n,]+		{
  					  *pCopyCurlyGString+=yytext;
  					}
<GCopyCurly>[,]+		        {
  					  *pCopyCurlyGString+=yytext;
  					}
<GCopyCurly>"/"				{ *pCopyCurlyGString+=yytext; }