Added unit test to check whether escaped user variable names are correctly escaped.
This commit is contained in:
@@ -44,7 +44,7 @@ struct StatementVisitor
|
||||
const auto &headTerm = **i;
|
||||
|
||||
if (i != context.headTerms.cbegin())
|
||||
outputStream << ", ";
|
||||
outputStream << " " << Clingo::AST::BinaryOperator::And << " ";
|
||||
|
||||
const auto variableName = std::string(AuxiliaryHeadVariablePrefix) + std::to_string(i - context.headTerms.cbegin() + 1);
|
||||
|
||||
|
Reference in New Issue
Block a user