Parsing for if statements