- Implemented the first part of enhanced aliases.
This commit is contained in:
Paul Beckingham
2011-05-23 23:46:00 -04:00
parent f1635c3eff
commit 7e55c0c786
3 changed files with 82 additions and 37 deletions

View File

@@ -181,7 +181,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
split (labels, reportLabels, ',');
if (columns.size () != labels.size () && labels.size () != 0)
throw std::string ("There are a different number of columns and labels ") +
throw std::string ("There are different numbers of columns and labels ") +
"for report '" + report + "'.";
std::map <std::string, std::string> columnLabels;
@@ -277,6 +277,7 @@ int handleCustomReport (const std::string& report, std::string& outs)
+ context.headers.size ()
+ context.footnotes.size ();
// Render.
std::stringstream out;
if (tasks.size ())
{