// Extracts arguments from str into args. Arguments are delimted by
// whitespace or by double quotes.
-// We extract at most max + 1 arguments, treating args[max] as
+// We extract at most max + 1 arguments, treating args[max] as
// continuing to eol.
-void splitArg(vector<string> & args, string const & str,
+void splitArg(vector<string> & args, string const & str,
unsigned int max = UINT_MAX)
{
istringstream is(str);
getline(is, s);
args.push_back(trim(s));
return;
- }
+ }
char c;
string s;