Any reason you've added the function keyword back in? It should be picked up by the function rules in the grammar now. Perhaps this is a merge conflict?