Added warnings for currently under-construction sections.
This commit is contained in:
parent
0d3cb152f9
commit
34d9c7a1c2
@ -166,6 +166,8 @@ void ActionParser::parseEffectSection(ast::Action &)
|
||||
tokenizer.expect<std::string>(":effect");
|
||||
tokenizer.expect<std::string>("(");
|
||||
|
||||
m_context.warningCallback(tokenizer.location(), "effect parser under construction, section is currently ignored");
|
||||
|
||||
// TODO: reimplement
|
||||
//VariableStack variableStack;
|
||||
//variableStack.push(&action.parameters);
|
||||
|
@ -21,6 +21,8 @@ ast::InitialState parseInitialState(Context &context, ASTContext &)
|
||||
|
||||
ast::InitialState initialState;
|
||||
|
||||
context.warningCallback(tokenizer.location(), "initial state parser under construction, section is currently ignored");
|
||||
|
||||
// TODO: reimplement
|
||||
/*const auto parseInitialStateElement =
|
||||
[&]() -> ExpressionPointer
|
||||
|
@ -268,6 +268,8 @@ void ProblemParser::parseInitialStateSection(ast::Problem &problem)
|
||||
|
||||
ASTContext astContext(problem);
|
||||
|
||||
m_context.warningCallback(tokenizer.location(), "initial state parser under construction, section is currently ignored");
|
||||
|
||||
// TODO: reimplement
|
||||
//problem.initialState = parseInitialState(m_context, astContext);
|
||||
//tokenizer.expect<std::string>(")");
|
||||
@ -287,6 +289,8 @@ void ProblemParser::parseGoalSection(ast::Problem &problem)
|
||||
|
||||
ASTContext expressionContext(problem);
|
||||
|
||||
m_context.warningCallback(tokenizer.location(), "goal parser under construction, section is currently ignored");
|
||||
|
||||
// TODO: reimplement
|
||||
//problem.goal = parsePreconditionExpression(m_context, expressionContext);
|
||||
//tokenizer.expect<std::string>(")");
|
||||
|
Reference in New Issue
Block a user