Minor formatting.
This commit is contained in:
parent
20c687a787
commit
8c98548dbc
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user