- if (bNoStrictSectioning_ && option != NULL)
- {
- while (upcount > 0)
- {
- sectionStack_.pop_back();
- --upcount;
- }
- std::vector<Options *> sections;
- while (section != ¤tSection())
- {
- sections.push_back(section);
- section = section->impl_->parent_;
- }
- while (!sections.empty())
- {
- sectionStack_.push_back(sections.back());
- sections.pop_back();
- }
- }