half-complete refactor
This commit is contained in:
parent
25bbbfdbcc
commit
8fbcd12284
100 changed files with 483 additions and 327 deletions
|
@ -14,7 +14,7 @@ std::string state::in_section::render(render_context& ctx, const token& token) {
|
|||
switch(token.token_type()) {
|
||||
case token::type::section_close:
|
||||
if(token.content() == section_name && skipped_openings == 0) {
|
||||
auto& section_node = ctx.get_node(section_name);
|
||||
auto section_node = ctx.get_node(section_name);
|
||||
std::string out;
|
||||
if (!boost::apply_visitor(visitor::is_node_empty(), section_node))
|
||||
out = boost::apply_visitor(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue