added grammar modifications to make it compatible with a recursive decent parser