tools/errmsg: minor fixes

This commit is contained in:
Daniel Marjamäki 2009-01-06 17:22:35 +00:00
parent a62d3da857
commit 0ac9d34d70
1 changed files with 3 additions and 3 deletions

View File

@ -45,7 +45,7 @@ public:
if (! _par1.empty()) if (! _par1.empty())
ostr << "const std::string &" << _par1; ostr << "const std::string &" << _par1;
ostr << ") const\n"; ostr << ") const\n";
ostr << " { return " << msg("\"") << "; }" << std::endl; ostr << " { return " << msg(true) << "; }" << std::endl;
// Settings.. // Settings..
ostr << std::endl; ostr << std::endl;
@ -69,7 +69,7 @@ public:
{ {
if ( _settings == i ) if ( _settings == i )
{ {
ostr << msg("") << std::endl; ostr << " " << msg(false) << std::endl;
} }
} }
@ -95,7 +95,7 @@ int main()
for ( unsigned int i = 0; i < 4; ++i ) for ( unsigned int i = 0; i < 4; ++i )
{ {
const char *suite[4] = { "standard", "all", "style", "all + style" }; const char *suite[4] = { "standard", "all", "style", "all + style" };
std::cout << "=" << suite[i] << "=" << std::endl; std::cout << " =" << suite[i] << "=" << std::endl;
for (std::list<Message>::const_iterator it = err.begin(); it != err.end(); ++it) for (std::list<Message>::const_iterator it = err.begin(); it != err.end(); ++it)
it->generateDoc(std::cout, i); it->generateDoc(std::cout, i);
} }