BUG: Fix ExpandListArgument when the string ends in a backslash.
This commit is contained in:
parent
51fe906ab7
commit
9bfe711ef1
|
@ -1152,6 +1152,11 @@ void cmSystemTools::ExpandListArgument(const std::string& arg,
|
||||||
{
|
{
|
||||||
newArgVec.push_back(*c);
|
newArgVec.push_back(*c);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Terminate the loop properly.
|
||||||
|
--c;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} break;
|
} break;
|
||||||
case '[':
|
case '[':
|
||||||
|
|
Loading…
Reference in New Issue