BUG: Fix ExpandListArgument when the string ends in a backslash.

This commit is contained in:
Brad King 2007-05-17 11:27:46 -04:00
parent 51fe906ab7
commit 9bfe711ef1
1 changed files with 5 additions and 0 deletions

View File

@ -1152,6 +1152,11 @@ void cmSystemTools::ExpandListArgument(const std::string& arg,
{
newArgVec.push_back(*c);
}
else
{
// Terminate the loop properly.
--c;
}
}
} break;
case '[':