Added function pointers to formal grammar