diff --git a/src/plasp/pddl/Action.cpp b/src/plasp/pddl/Action.cpp index f534606..2c11502 100644 --- a/src/plasp/pddl/Action.cpp +++ b/src/plasp/pddl/Action.cpp @@ -5,6 +5,7 @@ #include #include #include +#include #include namespace plasp @@ -50,7 +51,7 @@ Action &Action::parseDeclaration(Context &context) { context.parser.expect(":"); - const auto sectionIdentifier = context.parser.parseIdentifier(isIdentifier); + const auto sectionIdentifier = utils::toLowerCase(context.parser.parseIdentifier(isIdentifier)); if (sectionIdentifier == "precondition") action->m_precondition = parsePreconditionExpression(context, action->m_parameters);