Minor formatting.
This commit is contained in:
parent
c62f3f88f1
commit
94d448d438
@ -79,7 +79,7 @@ void TranslatorASP::translateDomain() const
|
|||||||
|
|
||||||
void TranslatorASP::translateTypes() const
|
void TranslatorASP::translateTypes() const
|
||||||
{
|
{
|
||||||
m_ostream << "% types";
|
m_ostream << "% types" << std::endl;
|
||||||
|
|
||||||
const auto &types = m_description.domain().types();
|
const auto &types = m_description.domain().types();
|
||||||
|
|
||||||
@ -92,8 +92,6 @@ void TranslatorASP::translateTypes() const
|
|||||||
std::for_each(types.cbegin(), types.cend(),
|
std::for_each(types.cbegin(), types.cend(),
|
||||||
[&](const auto &type)
|
[&](const auto &type)
|
||||||
{
|
{
|
||||||
m_ostream << std::endl;
|
|
||||||
|
|
||||||
const auto typeName = utils::escapeASP(type->name());
|
const auto typeName = utils::escapeASP(type->name());
|
||||||
|
|
||||||
m_ostream << "type(" << typeName << ")." << std::endl;
|
m_ostream << "type(" << typeName << ")." << std::endl;
|
||||||
|
Reference in New Issue
Block a user