Fixed bug where a literal number followed by EOF would throw an error