diff options
author | albert-github <albert.tests@gmail.com> | 2018-10-18 12:51:33 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2018-10-18 12:51:33 (GMT) |
commit | 7c76f37c452ad49f1b19a661525ceebafc036a6e (patch) | |
tree | 5dab19a2e329be60610ce96aeac671c3b146d862 /src | |
parent | 2f50bc0bcc39cfb27537109b779d18d7389f81f1 (diff) | |
download | Doxygen-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)
Diffstat (limited to 'src')
-rw-r--r-- | src/configimpl.l | 4 |
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); } |