Fixed compiler's output "<unknown>" when end of file reached