summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2020-02-27 13:14:57 (GMT)
committeralbert-github <albert.tests@gmail.com>2020-02-27 13:14:57 (GMT)
commit5a0cfa3bd29d8643c7744d03d8fba4ae990aa260 (patch)
tree7340e04c3aa8d22cd180c1ddc53d0d22b77adac9
parentaba8e32396ce444904f2fd44cedeb5b998fd67a6 (diff)
downloadDoxygen-5a0cfa3bd29d8643c7744d03d8fba4ae990aa260.zip
Doxygen-5a0cfa3bd29d8643c7744d03d8fba4ae990aa260.tar.gz
Doxygen-5a0cfa3bd29d8643c7744d03d8fba4ae990aa260.tar.bz2
Problem in case using PREDEFINED with comma and using +=
In pull request #7603 the problem regarding `PREDEFINED = A(x,y)`, but the same patch must be applied to the construct `PREDEFINED += A(x,y)`
-rw-r--r--src/configimpl.l9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/configimpl.l b/src/configimpl.l
index dfdeb4a..4ea877b 100644
--- a/src/configimpl.l
+++ b/src/configimpl.l
@@ -832,7 +832,14 @@ static void readIncludeFile(const char *incName)
case ConfigOption::O_List:
l = ((ConfigList *)option)->valueRef();
elemStr="";
- BEGIN(GetStrList);
+ if (cmd == "PREDEFINED")
+ {
+ BEGIN(GetStrList1);
+ }
+ else
+ {
+ BEGIN(GetStrList);
+ }
break;
case ConfigOption::O_Enum:
case ConfigOption::O_String: