Changeset 7275 for code/branches/consolecommands3/src/libraries/core
- Timestamp:
- Aug 30, 2010, 11:45:44 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/consolecommands3/src/libraries/core/CommandLineParser.cc
r6417 r7275 335 335 { 336 336 std::vector<std::string> args; 337 SubString tokens(cmdLine, " ", " ", false, '\\', true, '"', true, ' (', ')', false);337 SubString tokens(cmdLine, " ", " ", false, '\\', true, '"', true, '\0', '\0', false); 338 338 for (unsigned i = 0; i < tokens.size(); ++i) 339 339 args.push_back(tokens[i]); … … 363 363 //if (!(line[0] == '#' || line[0] == '%')) 364 364 //{ 365 SubString tokens(line, " ", " ", false, '\\', true, '"', true, ' (', ')', false, '#');365 SubString tokens(line, " ", " ", false, '\\', true, '"', true, '\0', '\0', false, '#'); 366 366 for (unsigned i = 0; i < tokens.size(); ++i) 367 367 if (tokens[i][0] != '#')
Note: See TracChangeset
for help on using the changeset viewer.