Instead of having the special list of implicit sections,
that are mixed with the sections read from YAML on late
stages, I just create the placeholders and add them to
the main sections list early.
That allows to significantly simplify the code.
Differential D64999
[yaml2obj] - Change how we handle implicit sections. grimar on Jul 19 2019, 8:40 AM. Authored by
Details Instead of having the special list of implicit sections, That allows to significantly simplify the code.
Diff Detail
Event TimelineComment Actions As an alternative if we do not want to make document non-const, I can introduce a new list of Section * (i.e. it will be almost the same patch like now, just needs an additional list(s). I am not sure how much important to keep the const here, this approach is a bit simpler)
Comment Actions
|