From 7c76f37c452ad49f1b19a661525ceebafc036a6e Mon Sep 17 00:00:00 2001 From: albert-github Date: Thu, 18 Oct 2018 14:51:33 +0200 Subject: 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) --- src/configimpl.l | 4 ++-- 1 file 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); } -[ \t]+ { +[ \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()); } } -[^ \#\"\t\r\n]+ { +[^ \#\"\t\r\n,]+ { elemStr+=configStringRecode(yytext,encoding,"UTF-8"); } \n { yyLineNr++; BEGIN(Start); } -- cgit v0.12