'Pop the innermost syntax block and revert its stack effect.'

def pop_syntax_block(self, info):

    block = info.syntax_blocks.pop()
    assert (info.stack_offset >= block.stack_offset)
    while ((info.stack_offset + info.stack_effect) > block.stack_offset):
        info.pop(discard=True)
    return block
