Restore the ability to detect EOF
Restore the ability to detect EOF

Previously, EOF was silently turned into a parse failure, and a parse
failure was turned into a nil result.

bradleyjensen/shcl,bradleyjensen/shcl,bradleyjensen/shcl