It is because they are processed from the top, and that is the point at which there weren't enough ends to go with the beginnings. That is often at the end of the document for something like paragraph markers.
It can be easier to start at the top and look for ends to go with beginnings visually by paragraph or phrase. There is not a way to parse it backwards from the end...I asked.
|