From 3d661cd1f4f863abb0d64729b6216507eb3bb063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Patrick=20L=C3=BChne?= Date: Tue, 14 Jun 2016 18:53:40 +0200 Subject: [PATCH] Fixed unescaped ASP identifier. --- src/plasp/pddl/TranslatorASP.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plasp/pddl/TranslatorASP.cpp b/src/plasp/pddl/TranslatorASP.cpp index 4ee5c70..ee2eb69 100644 --- a/src/plasp/pddl/TranslatorASP.cpp +++ b/src/plasp/pddl/TranslatorASP.cpp @@ -325,7 +325,7 @@ void TranslatorASP::translateVariablesBody(const expressions::Variables &variabl m_outputStream << utils::Keyword("hasType") << "(" << utils::Variable(utils::escapeASPVariable(variable.name())) << ", " - << utils::Keyword("type") << "(" << type.name() << "))"; + << utils::Keyword("type") << "(" << utils::escapeASP(type.name()) << "))"; } else {