Basic if statement parsing