Bugfix for the CommaSeparated option. The original code was adding the whole

string at the end of the list, instead of the last comma-separated string.

llvm-svn: 83405
This commit is contained in:
Nicolas Geoffray 2009-10-06 19:55:53 +00:00
parent 4b5e7b5661
commit bde5513d27

View File

@ -643,6 +643,7 @@ void cl::ParseCommandLineOptions(int argc, char **argv,
// Check for another comma.
Pos = Val.find(',');
}
Value = Val;
}
// If this is a named positional argument, just remember that it is the