astyle formatting
This commit is contained in:
parent
d29d7e60a9
commit
eb9563faed
|
@ -247,27 +247,27 @@ void Message::generateCode(std::ostream &ostr) const
|
||||||
if (loc)
|
if (loc)
|
||||||
ostr << "tokenizer, Location, \"" << stringifySettings(true) << "\", ";
|
ostr << "tokenizer, Location, \"" << stringifySettings(true) << "\", ";
|
||||||
ostr << msg(true) << ");\n";
|
ostr << msg(true) << ");\n";
|
||||||
/*
|
/*
|
||||||
ostr << " return ";
|
ostr << " return ";
|
||||||
if (loc)
|
if (loc)
|
||||||
ostr << "msg1(tokenizer, Location) + ";
|
ostr << "msg1(tokenizer, Location) + ";
|
||||||
ostr << " std::string(\"(" << stringifySettings(true) << ") \") + ";
|
ostr << " std::string(\"(" << stringifySettings(true) << ") \") + ";
|
||||||
ostr << msg(true);
|
ostr << msg(true);
|
||||||
if (_details.empty())
|
if (_details.empty())
|
||||||
ostr << ";\n";
|
ostr << ";\n";
|
||||||
else
|
else
|
||||||
{
|
|
||||||
ostr << " + std::string(settings._verbose ? \"\\n";
|
|
||||||
for (std::string::size_type pos = 0; pos < _details.length(); ++pos)
|
|
||||||
{
|
{
|
||||||
if (_details[pos] == '\n')
|
ostr << " + std::string(settings._verbose ? \"\\n";
|
||||||
ostr << "\\n";
|
for (std::string::size_type pos = 0; pos < _details.length(); ++pos)
|
||||||
else
|
{
|
||||||
ostr << _details[pos];
|
if (_details[pos] == '\n')
|
||||||
|
ostr << "\\n";
|
||||||
|
else
|
||||||
|
ostr << _details[pos];
|
||||||
|
}
|
||||||
|
ostr << "\" : \"\");\n";
|
||||||
}
|
}
|
||||||
ostr << "\" : \"\");\n";
|
*/
|
||||||
}
|
|
||||||
*/
|
|
||||||
ostr << " }\n";
|
ostr << " }\n";
|
||||||
|
|
||||||
// Settings..
|
// Settings..
|
||||||
|
|
Loading…
Reference in New Issue