Removed unwanted newline in SAS output.
This commit is contained in:
parent
1727113a8b
commit
c391a1f566
@ -35,8 +35,13 @@ void TranslatorASP::translate() const
|
|||||||
translateActions();
|
translateActions();
|
||||||
m_outputStream << std::endl;
|
m_outputStream << std::endl;
|
||||||
translateMutexes();
|
translateMutexes();
|
||||||
|
|
||||||
|
if (m_description.usesAxiomRules())
|
||||||
|
{
|
||||||
m_outputStream << std::endl;
|
m_outputStream << std::endl;
|
||||||
translateAxiomRules();
|
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();
|
||||||
|
Reference in New Issue
Block a user