Minor formatting.

This commit is contained in:
Patrick Lühne 2017-06-17 19:56:53 +02:00
parent 20c687a787
commit 8c98548dbc
Signed by: patrick
GPG Key ID: 05F3611E97A70ABF

View File

@ -150,11 +150,10 @@ void ActionParser::parsePreconditionSection(ast::Action &action)
tokenizer.expect<std::string>(":precondition");
ASTContext astContext(m_domain);
VariableStack variableStack;
variableStack.push(&action.parameters);
ASTContext astContext(m_domain);
action.precondition = parsePrecondition(m_context, astContext, variableStack);
}
@ -166,11 +165,10 @@ void ActionParser::parseEffectSection(ast::Action &action)
tokenizer.expect<std::string>(":effect");
ASTContext astContext(m_domain);
VariableStack variableStack;
variableStack.push(&action.parameters);
ASTContext astContext(m_domain);
action.effect = parseEffect(m_context, astContext, variableStack);
}