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.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@83405 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Nicolas Geoffray 2009-10-06 19:55:53 +00:00
parent 3351085d84
commit 35b305863a

View File

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