Refactored Requirement parsing.
This commit is contained in:
parent
f2a1528ea9
commit
7e60631840
@ -159,8 +159,7 @@ void Domain::parseRequirementSection()
|
|||||||
|
|
||||||
while (m_context.parser.currentCharacter() != ')')
|
while (m_context.parser.currentCharacter() != ')')
|
||||||
{
|
{
|
||||||
if (m_context.parser.currentCharacter() == ':')
|
m_context.parser.expect<std::string>(":");
|
||||||
m_context.parser.advance();
|
|
||||||
|
|
||||||
m_requirements.emplace_back(Requirement::parse(m_context));
|
m_requirements.emplace_back(Requirement::parse(m_context));
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user