Extend parse() to continue until EOF