Mark 'entering a block'.

def enter_block(self, name):
        """Mark 'entering a block'."""
        section = self._get_section(name)
        block = self.current_block = section.new_block()
        self.blocks.append(block)
        return block