let rec idents input = match input.token with | Id a -> skip input ; if key input "," then a :: idents input else [a] | _ -> []