Differentiate between indentation decrease and EOF.

This fixes parsing of files with no empty line at the end.