the scanner now ignores all newline characters, and only scans until the end of the input