never end a block with extra newlines, aka pop-while