diff --git a/lib/pddlparse/src/pddlparse/detail/parsing/Action.cpp b/lib/pddlparse/src/pddlparse/detail/parsing/Action.cpp index f8de932..5f3fbc8 100644 --- a/lib/pddlparse/src/pddlparse/detail/parsing/Action.cpp +++ b/lib/pddlparse/src/pddlparse/detail/parsing/Action.cpp @@ -166,6 +166,8 @@ void ActionParser::parseEffectSection(ast::Action &) tokenizer.expect(":effect"); tokenizer.expect("("); + m_context.warningCallback(tokenizer.location(), "effect parser under construction, section is currently ignored"); + // TODO: reimplement //VariableStack variableStack; //variableStack.push(&action.parameters); diff --git a/lib/pddlparse/src/pddlparse/detail/parsing/InitialState.cpp b/lib/pddlparse/src/pddlparse/detail/parsing/InitialState.cpp index 868756e..ebba5fe 100644 --- a/lib/pddlparse/src/pddlparse/detail/parsing/InitialState.cpp +++ b/lib/pddlparse/src/pddlparse/detail/parsing/InitialState.cpp @@ -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 diff --git a/lib/pddlparse/src/pddlparse/detail/parsing/Problem.cpp b/lib/pddlparse/src/pddlparse/detail/parsing/Problem.cpp index 074c3d5..3b2a334 100644 --- a/lib/pddlparse/src/pddlparse/detail/parsing/Problem.cpp +++ b/lib/pddlparse/src/pddlparse/detail/parsing/Problem.cpp @@ -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(")"); @@ -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(")");