Commit 36a8d8dc authored by Oswald Buddenhagen's avatar Oswald Buddenhagen
Browse files

fix quote nesting in split_value_list()



a single quote must not disrupt a double quoted string and vice-versa.

Change-Id: Ibb277bc1c930a7dbe9199ca572507ababbcfae4c
Reviewed-by: default avatarJoerg Bornemann <joerg.bornemann@theqtcompany.com>
(cherry picked from qtbase/c9270d66395c90068388857c8fd201c62fb5e96f)
parent 40d48f86
......@@ -311,7 +311,8 @@ ProStringList QMakeEvaluator::split_value_list(const QString &vals, const ProFil
switch (unicode) {
case '"':
case '\'':
quote = unicode;
if (!quote)
quote = unicode;
hadWord = true;
break;
case ' ':
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment