summaryrefslogtreecommitdiffstats
path: root/src/commentcnv.l
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2013-11-11 20:10:19 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2013-11-11 20:10:19 (GMT)
commit23f7c36f38ca76f4233c92f661514dd4bba39158 (patch)
tree6aadae9dde88c7248a9875e8ddbbab7258c6a0af /src/commentcnv.l
parent56051878cd710e3a7304447c33b5e612a925a628 (diff)
parent84d1195bc2be1e3fb2819500fc296b8739afd524 (diff)
downloadDoxygen-23f7c36f38ca76f4233c92f661514dd4bba39158.zip
Doxygen-23f7c36f38ca76f4233c92f661514dd4bba39158.tar.gz
Doxygen-23f7c36f38ca76f4233c92f661514dd4bba39158.tar.bz2
Merge branch 'master' of github.com:doxygen/doxygen
Diffstat (limited to 'src/commentcnv.l')
-rw-r--r--src/commentcnv.l9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/commentcnv.l b/src/commentcnv.l
index aad369e..60d025e 100644
--- a/src/commentcnv.l
+++ b/src/commentcnv.l
@@ -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)
{