Parse match statements