summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-10-18 12:51:33 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-10-18 12:51:33 (GMT)
commit7c76f37c452ad49f1b19a661525ceebafc036a6e (patch)
tree5dab19a2e329be60610ce96aeac671c3b146d862
parent2f50bc0bcc39cfb27537109b779d18d7389f81f1 (diff)
downloadDoxygen-7c76f37c452ad49f1b19a661525ceebafc036a6e.zip
Doxygen-7c76f37c452ad49f1b19a661525ceebafc036a6e.tar.gz
Doxygen-7c76f37c452ad49f1b19a661525ceebafc036a6e.tar.bz2
Enable comma as separator in configuration lists
Loosely based on problems when users use a comma as separator in a list (as this is slightly suggested in the documentation). (https://stackoverflow.com/questions/43093051/doxygen-is-generating-empty-documentation)
-rw-r--r--src/configimpl.l4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index 3fb1360..0779e70 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -868,7 +868,7 @@ static void readIncludeFile(const char *incName)
}
BEGIN(Start);
}
-<GetStrList>[ \t]+ {
+<GetStrList>[ \t,]+ {
if (!elemStr.isEmpty())
{
//printf("elemStr2=`%s'\n",elemStr.data());
@@ -922,7 +922,7 @@ static void readIncludeFile(const char *incName)
bs.data(),yyLineNr,yyFileName.data());
}
}
-<GetStrList>[^ \#\"\t\r\n]+ {
+<GetStrList>[^ \#\"\t\r\n,]+ {
elemStr+=configStringRecode(yytext,encoding,"UTF-8");
}
<SkipComment>\n { yyLineNr++; BEGIN(Start); }