Skip to content
Snippets Groups Projects
Commit 674a4e02 authored by Houtan Bastani's avatar Houtan Bastani
Browse files

preprocessor: store string vectors as cellar

parent 1be77c8f
No related branches found
No related tags found
No related merge requests found
......@@ -185,11 +185,11 @@ OptionsList::writeOutput(ostream &output) const
output << "options_." << it->first << " = ";
if (it->second.size() > 1)
{
output << "[";
output << "{";
for (vector<string>::const_iterator viit = it->second.begin();
viit != it->second.end(); viit++)
output << "'" << *viit << "';";
output << "];" << endl;
output << "};" << endl;
}
else
output << it->second.front() << ";" << endl;
......@@ -253,11 +253,11 @@ OptionsList::writeOutput(ostream &output, const string &option_group) const
output << option_group << "." << it->first << " = ";
if (it->second.size() > 1)
{
output << "[";
output << "{";
for (vector<string>::const_iterator viit = it->second.begin();
viit != it->second.end(); viit++)
output << "'" << *viit << "';";
output << "];" << endl;
output << "};" << endl;
}
else
output << it->second.front() << ";" << endl;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment