protected function popBlock()
{
$block = $this->env;
if (empty($block->parent)) {
$this->throwParseError('unexpected }');
}
$this->env = $block->parent;
unset($block->parent);
$comments = $block->comments;
if (count($comments)) {
$this->env->comments = $comments;
unset($block->comments);
}
return $block;
}