Removed unwanted newline in SAS output.

This commit is contained in:
Patrick Lühne 2016-08-13 18:44:18 +02:00
parent 1727113a8b
commit c391a1f566

View File

@ -35,8 +35,13 @@ void TranslatorASP::translate() const
translateActions(); translateActions();
m_outputStream << std::endl; m_outputStream << std::endl;
translateMutexes(); translateMutexes();
m_outputStream << std::endl;
translateAxiomRules(); if (m_description.usesAxiomRules())
{
m_outputStream << std::endl;
translateAxiomRules();
}
m_outputStream << std::endl; m_outputStream << std::endl;
translateInitialState(); translateInitialState();
m_outputStream << std::endl; m_outputStream << std::endl;
@ -236,9 +241,6 @@ void TranslatorASP::translateMutexes() const
void TranslatorASP::translateAxiomRules() const void TranslatorASP::translateAxiomRules() const
{ {
if (!m_description.usesAxiomRules())
return;
m_outputStream << utils::Heading2("axiom rules"); m_outputStream << utils::Heading2("axiom rules");
const auto &axiomRules = m_description.axiomRules(); const auto &axiomRules = m_description.axiomRules();