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

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

Bug 711787 - Long initialization line in C stops doxygen
parents 7cda115a 057f260b
......@@ -241,9 +241,12 @@ void replaceComment(int offset);
%%
<Scan>[^"'!\/\n\\#\\-]* { /* eat anything that is not " / or \n */
copyToOutput(yytext,(int)yyleng);
}
<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 */
if (g_lang!=SrcLangExt_Python)
{
......
......@@ -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; }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment