Simplify parsing of if's.

Reading everything up to the end of the line is enough.