fixed newlines getting lost

test plan: make test

parsing the while mostly correctly, except for `i = i`