Fixed issue in grammar about exit statement