Fixed whitespace parsing issue.

This commit is contained in:
Patrick Lühne 2016-06-02 22:47:25 +02:00
parent fcde9c9b6b
commit 8817a3f226

View File

@ -55,6 +55,8 @@ Action &Action::parseDeclaration(utils::Parser &parser, Context &context)
action->m_precondition = parsePreconditionExpression(parser, context, action->m_parameters); action->m_precondition = parsePreconditionExpression(parser, context, action->m_parameters);
else if (sectionIdentifier == "effect") else if (sectionIdentifier == "effect")
action->m_effect = parseEffectExpression(parser, context, action->m_parameters); action->m_effect = parseEffectExpression(parser, context, action->m_parameters);
parser.skipWhiteSpace();
} }
// Store new action // Store new action