Fixed whitespace parsing issue.
This commit is contained in:
parent
fcde9c9b6b
commit
8817a3f226
@ -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
|
||||||
|
Reference in New Issue
Block a user