Made section parsing function names consistent.
This commit is contained in:
parent
60c072a2b3
commit
08eb14e400
@ -37,7 +37,7 @@ class Domain
|
||||
|
||||
void parseSection(utils::Parser &parser);
|
||||
|
||||
void parseRequirementsSection(utils::Parser &parser);
|
||||
void parseRequirementSection(utils::Parser &parser);
|
||||
bool hasRequirement(Requirement::Type requirementType) const;
|
||||
void computeDerivedRequirements();
|
||||
|
||||
|
@ -130,10 +130,9 @@ void Domain::parseSection(utils::Parser &parser)
|
||||
}
|
||||
};
|
||||
|
||||
// TODO: make naming consistent
|
||||
// TODO: check order of the sections
|
||||
if (sectionIdentifier == "requirements")
|
||||
parseRequirementsSection(parser);
|
||||
parseRequirementSection(parser);
|
||||
else if (sectionIdentifier == "types")
|
||||
parseTypeSection(parser);
|
||||
else if (sectionIdentifier == "constants")
|
||||
@ -154,7 +153,7 @@ void Domain::parseSection(utils::Parser &parser)
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
void Domain::parseRequirementsSection(utils::Parser &parser)
|
||||
void Domain::parseRequirementSection(utils::Parser &parser)
|
||||
{
|
||||
parser.skipWhiteSpace();
|
||||
|
||||
|
Reference in New Issue
Block a user